From b52f7571b92ba41c8a810258b79fcbcab4c7ed25 Mon Sep 17 00:00:00 2001 From: Chris Greenshields <http://cfd.direct> Date: Mon, 7 Dec 2015 14:15:14 +0000 Subject: [PATCH] foamNewApp: added execution and clock times to template --- etc/codeTemplates/app/app.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/codeTemplates/app/app.C b/etc/codeTemplates/app/app.C index e143dcdf22f..fb4c8ea78e6 100644 --- a/etc/codeTemplates/app/app.C +++ b/etc/codeTemplates/app/app.C @@ -39,6 +39,10 @@ int main(int argc, char *argv[]) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + Info<< nl << "ExecutionTime = " << runTime.elapsedCpuTime() << " s" + << " ClockTime = " << runTime.elapsedClockTime() << " s" + << nl << endl; + Info<< "\nEnd\n" << endl; return 0; } -- GitLab