add linkly and unlikely optimisation to ltt_time_compare
[lttv.git] / ltt / branches / poly / ltt / ltt-private.h
index ae7cc7e8b5f47dc38686f122afed2d6ffa91a84c..ae10e90e82c9d10daf953ca67172001db99d82f7 100644 (file)
@@ -160,7 +160,8 @@ struct _LttTracefile{
   BlockEnd   * a_block_end;          //block end of the block
   void * cur_event_pos;              //the position of the current event
   void * buffer;                     //the buffer containing the block
-  double cycle_per_nsec;             //Cycles per nsec
+  double nsec_per_cycle;             //Nsec per cycle
+  //LttCycleCount cycles_per_nsec_reciprocal; // Optimisation for speed
   unsigned cur_heart_beat_number;    //current number of heart beat in the buf
   LttCycleCount cur_cycle_count;     //current cycle count of the event
   void * last_event_pos;
This page took 0.022261 seconds and 4 git commands to generate.