projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter core:
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
ltt-private.h
diff --git
a/ltt/branches/poly/ltt/ltt-private.h
b/ltt/branches/poly/ltt/ltt-private.h
index ae10e90e82c9d10daf953ca67172001db99d82f7..d10e35f91164f58c753253c9dbc602b0ddb22f6c 100644
(file)
--- a/
ltt/branches/poly/ltt/ltt-private.h
+++ b/
ltt/branches/poly/ltt/ltt-private.h
@@
-99,6
+99,9
@@
struct _LttEvent{
LttTime prev_event_time; //the time of the previous event
LttCycleCount pre_cycle_count; //previous cycle count of the event
int count; //the number of overflow of cycle count
LttTime prev_event_time; //the time of the previous event
LttCycleCount pre_cycle_count; //previous cycle count of the event
int count; //the number of overflow of cycle count
+ gint64 overflow_nsec; //precalculated nsec for overflows
+ TimeHeartbeat * last_heartbeat; //last heartbeat
+
/* end of workaround */
};
/* end of workaround */
};
@@
-156,11
+159,18
@@
struct _LttTracefile{
unsigned int which_event; //which event of the current block
//is currently processed
LttTime current_event_time; //time of the current event
unsigned int which_event; //which event of the current block
//is currently processed
LttTime current_event_time; //time of the current event
- BlockStart * a_block_start; //block start of the block
- BlockEnd * a_block_end; //block end of the block
+ BlockStart * a_block_start; //block start of the block- trace endian
+ BlockEnd * a_block_end; //block end of the block - trace endian
+ TimeHeartbeat * last_heartbeat; //last heartbeat
void * cur_event_pos; //the position of the current event
void * buffer; //the buffer containing the block
double nsec_per_cycle; //Nsec per cycle
void * cur_event_pos; //the position of the current event
void * buffer; //the buffer containing the block
double nsec_per_cycle; //Nsec per cycle
+ guint64 one_overflow_nsec; //nsec for one overflow
+ gint64 overflow_nsec; //precalculated nsec for overflows
+ //can be negative to include value
+ //of block start cycle count.
+ //incremented at each overflow while
+ //reading.
//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
//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
@@
-182,8
+192,7
@@
struct _LttTrace{
GPtrArray *control_tracefiles; //array of control tracefiles
GPtrArray *per_cpu_tracefiles; //array of per cpu tracefiles
GPtrArray *facilities; //array of facilities
GPtrArray *control_tracefiles; //array of control tracefiles
GPtrArray *per_cpu_tracefiles; //array of per cpu tracefiles
GPtrArray *facilities; //array of facilities
- LttArchSize my_arch_size; //data size of the local machine
- LttArchEndian my_arch_endian; //endian type of the local machine
+ gboolean reverse_byte_order; //must we reverse BO ?
};
struct _LttEventPosition{
};
struct _LttEventPosition{
@@
-203,6
+212,8
@@
struct _LttEventPosition{
LttTime prev_event_time; //the time of the previous event
LttCycleCount pre_cycle_count; //previous cycle count of the event
int count; //the number of overflow of cycle count
LttTime prev_event_time; //the time of the previous event
LttCycleCount pre_cycle_count; //previous cycle count of the event
int count; //the number of overflow of cycle count
+ gint64 overflow_nsec; //precalculated nsec for overflows
+ TimeHeartbeat * last_heartbeat; //last heartbeat
/* end of workaround */
};
/* end of workaround */
};
This page took
0.039086 seconds
and
4
git commands to generate.