Skip to contentSkip to conversation

perf script timestamp

DISCUSSION OSDepend 2 participants 2 messages Apr 24, 2013

lore
Share & tools
lore

OSDepend

author
#0 lore raw

Hi guys,
I just try to use perf script, and get some thing like below:

            java 15893 [015] 96380.588871: timer_cancel: timer=0xffff8804379d6698
            java 15721 [010] 96380.588872: timer_cancel: timer=0xffff8800be3d6698
            java 15893 [015] 96380.588875: timer_expire_entry: timer=0xffff8804379d6698 function=delayed_work_timer_fn now=4391194790
            java 15721 [010] 96380.588876: timer_expire_entry: timer=0xffff8800be3d6698 function=delayed_work_timer_fn now=4391194790

I want to know exactly about the time units of the events, such as 96380.588871, and 96380.588872. The number befor "." is second or millisecond? and Is the number after "." nanoseconds or microseconds? I'm a little confused about the documation for ktime_t, please help me out!

Best,
Chen

2013-04-24

#1 lore raw
Quoted 10 lines · OSDepend

Hi guys,
I just try to use perf script, and get some thing like below:

             java 15893 [015] 96380.588871: timer_cancel: timer=0xffff8804379d6698
             java 15721 [010] 96380.588872: timer_cancel: timer=0xffff8800be3d6698
             java 15893 [015] 96380.588875: timer_expire_entry: timer=0xffff8804379d6698 function=delayed_work_timer_fn now=4391194790
             java 15721 [010] 96380.588876: timer_expire_entry: timer=0xffff8800be3d6698 function=delayed_work_timer_fn now=4391194790

I want to know exactly about the time units of the events, such as 96380.588871, and 96380.588872. The number befor "." is second or millisecond? and Is the number after "." nanoseconds or microseconds? I'm a little confused about the documation for ktime_t, please help me out!

times are <seconds>.<microseconds>

David