projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor PAPI support, and add profiling of multithreaded GC
[ghc-hetmet.git]
/
rts
/
sm
/
GC.h
diff --git
a/rts/sm/GC.h
b/rts/sm/GC.h
index
488a2db
..
5d7924e
100644
(file)
--- a/
rts/sm/GC.h
+++ b/
rts/sm/GC.h
@@
-142,6
+142,10
@@
typedef struct gc_thread_ {
lnat thunk_selector_depth; // ummm.... not used as of now
+#ifdef USE_PAPI
+ int papi_events;
+#endif
+
} gc_thread;
extern nat N;