This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I made 2 small modifications to the previous patch : *) print time with more digits (to facilitate processing the output as fixed-width columns) *) if first clock tick not found, initialize time to 0 ms diff to previously posted patch : %------------------------------ --- ecos/packages/kernel/current/host/instr/dump_instr.c.patch1 2007-10-12 11:02:12.000000000 +0200 +++ ecos/packages/kernel/current/host/instr/dump_instr.c.patch2 2007-10-12 10:49:06.000000000 +0200 @@ -156,7 +156,7 @@ printf("%4d Record type 0x%04x, thread %2d, ", cnt, record.type, record.thread); #endif - printf("time %10lld, arg1 0x%08x, arg2 0x%08x\n", + printf("time %12lld, arg1 0x%08x, arg2 0x%08x\n", cvt_time(record.timestamp), record.arg1, record.arg2); @@ -170,6 +170,7 @@ if (findfirstclock) { printf("first tick not found\r\n"); + ticks = 0; } } %---------------------------- Because the previous patch was not applied (yet), the full diff to latest version in anoncvs is attached too. Pieter-Jan Busschaert
Attachment:
dump_instr.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |