mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Add a 'time' command
@ 2011-08-03  7:19 Sascha Hauer
  2011-08-03  7:19 ` [PATCH 1/2] memcpy command: allow to interrupt Sascha Hauer
  2011-08-03  7:19 ` [PATCH 2/2] Add 'time' command to measure execution time of a command Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2011-08-03  7:19 UTC (permalink / raw)
  To: barebox

The time command was useful during MMU rework as it allowed me
to measure the impacts of caching. Unfortunately the timer
may overrun during execution of the command, so the result may
not be correct. Still I find this useful enough to be part
of barebox.

Sascha

Sascha Hauer (2):
      memcpy command: allow to interrupt
      Add 'time' command to measure execution time of a command

 commands/Kconfig  |   10 +++++++++
 commands/Makefile |    1 +
 commands/mem.c    |    3 ++
 commands/time.c   |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 71 insertions(+), 0 deletions(-)
 create mode 100644 commands/time.c

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-03  7:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-03  7:19 Add a 'time' command Sascha Hauer
2011-08-03  7:19 ` [PATCH 1/2] memcpy command: allow to interrupt Sascha Hauer
2011-08-03  7:19 ` [PATCH 2/2] Add 'time' command to measure execution time of a command Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox