Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/PROCESSOR-SDK-AM335X: Printk Timer query

$
0
0

Part Number:PROCESSOR-SDK-AM335X

Tool/software: Linux

Hi Ti ,

I am currently using this tag : TI-PROCESSOR-SDK-LINUX-AUTOMOTIVE-DRA7XX-EVM-03.00.00.03 in my kernel . I can see the following message at my console :

 [    0.000000] clock: associated clk clkdiv32k_ick to clkdm clk_24mhz_clkdm
 [    0.000000] omap2: timer: OMAP clockevent source: timer3 at 19200000 Hz
 [    0.000024] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 111848106981ns
 [    0.000065] clocksource: timer2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 99544814920 ns
 [    0.000087] omap2: timer: OMAP clocksource: timer2 at 19200000 Hz

I have two query here :

1) why the sched_lcok time will stat from 0.000024 msec .

2) As per  my understanding , priintk will use sched_clock for timing but is it possible to start or get absolute  time after [    0.000000] Booting Linux on physical CPU 0x0 .] .

I want to measure the from target reset so It will be goof if i can start the timer earlier or let me know if any other way to measure the time .

I can see timer2 is initialized at boot loader so it is possible not to re-initialize it at kernel and can use the same counter value ?

Regards

Chinmoy


Viewing all articles
Browse latest Browse all 17527

Trending Articles