User forums > General (but related to Code::Blocks)

Problem with executing compiled program. Please help.

<< < (2/3) > >>

cybernike:
I actually want the opposite. Why when I run a compiled program in code::blocks, it doesn't show the execution time? Where can I enable that?

Deschamps:

--- Quote from: cybernike on June 21, 2008, 10:05:45 am ---I actually want the opposite. Why when I run a compiled program in code::blocks, it doesn't show the execution time? Where can I enable that?

--- End quote ---

If your run your app inside C::B, then you'll see the total execution time (i.e. when you close your app) in the Build log tab (if you don't have the Logs panel visible, you could see it pressing F2 or using menu View -> Logs). If you're looking for a timing during execution, then I don't know the answer :)

Regards.

cybernike:
I am actually looking for something like this "Process returned 0 (0x0)   execution time : 0.055 s" at the end of execution for a console program.

My windows C::B shows that, but not my Linux version. Any idea?

rynee:
Well it's been about 5 years since this thread. Is there any way to disable this
--- Quote ---Process returned 0 (0x0)   execution time : 0.987 s
Press any key to continue.
--- End quote ---
output as of 2013?

BlueHazzard:
first of all, this is grave desecration. This thread is more then five years old....

second:

--- Quote from: Ceniza on June 07, 2008, 08:24:56 am ---Your executable doesn't show that. It's a program Code::Blocks uses to run your program through that displays that message. You can remove that behavior by clicking on Project -> Properties... -> [Build targets]. Select your target and _uncheck_ Pause when execution ends. AFAIK there's no way to disable that behavior when compiling and running a single file (no Project).

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version