X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fdoc%2Fdeveloper%2Ftsc-smallv2.txt;h=d65cfed3bfd332dfd907acc5b7afb11b991fa897;hb=cee587c3bcfd31e0be7e0a44a8f466b28b2be934;hp=e21cb9eee939fa5e4a12f4e0d0bf9f0dff11f8bc;hpb=d26b24d9d0d2455e0a9f4f66035a79effc280638;p=lttv.git diff --git a/ltt/branches/poly/doc/developer/tsc-smallv2.txt b/ltt/branches/poly/doc/developer/tsc-smallv2.txt index e21cb9ee..d65cfed3 100644 --- a/ltt/branches/poly/doc/developer/tsc-smallv2.txt +++ b/ltt/branches/poly/doc/developer/tsc-smallv2.txt @@ -122,7 +122,8 @@ Granularity : 800ns (200 cycles@4GHz) : 2^9 = 512 (remove 9 LSB) Min wrap : 100HZ system, each 3 timer ticks : 0.03s (32-4 MSB for 4 GHZ : 0.26s) (heartbeat each 100HZ, to be safe) Number of MSB to skip : - 32 - find_first_bit(( (expected_longest_interrupt_latency()[ms] + max_timer_interval[ms]) / cpu_khz )) - 1 + 32 - find_first_bit(( (expected_longest_interrupt_latency()[ms] + + max_timer_interval[ms]) * cpu_khz[kcycles/s] )) - 1 (the last -1 is to make sure we remove less or exact amount of bits, round near to 0, not round up).