Go to the documentation of this file.
34 m_help =
"Measure the execution time of a program";
TimeCommand(Shell *shell)
Constructor function.
Shell * m_shell
Shell object.
virtual int execute(const Size nparams, const char **params)
Executes the command.
Builtin command for the Shell.
const char * m_help
Command help text.
System command shell interpreter.
void printDiff(const SystemClock &clock) const
Print difference between two clocks to stdout.
int executeInput(const Size argc, const char **argv, const bool background)
Executes the given input.
Provides an abstract interface to the system clock.
int printf(const char *format,...)
Output a formatted string to standard output.
unsigned int Size
Any sane size indicator cannot go negative.
#define EXIT_SUCCESS
Successful termination.
Result now()
Get the current time.