VMS/VMS_Implementations/SSR_impls/SSR__MC_shared_impl

view SSR_Counter_Recording.h @ 76:6647aea90477

commented out uses of SemEnv->lastReqType .. wasn't compiling..
author Sean Halle <seanhalle@yahoo.com>
date Sun, 15 Jul 2012 02:03:43 -0700
parents b5b5323b4177
children
line source
1 /*
2 * File: SSR_Counter_Recording.h
3 * Author: nengel
4 *
5 * Created on January 11, 2012, 3:03 PM
6 */
8 #ifndef SSR_COUNTER_RECORDING_H
9 #define SSR_COUNTER_RECORDING_H
11 #include "VMS_impl/VMS.h"
13 typedef struct {
14 int event_type;
15 int coreID;
16 AnimSlot* slot;
17 int vp;
18 int task;
19 uint64 cycles;
20 uint64 instrs;
21 uint64 cachem;
22 } CounterEvent;
24 FILE* counterfile;
26 void SSR__init_counter_data_structs();
28 void SSR__counter_handler(int evt_type, int vpid, int task, SlaveVP* pr, uint64 cycles, uint64 instrs, uint64 cachem);
30 void set_counter_file(FILE* f);
32 void print_counter_events_to_file(void* _e);
33 #endif /* SSR_COUNTER_RECORDING_H */