Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1456:903f2a6c1ed9
Date: 2014-10-05 11:53 +0200
http://bitbucket.org/pypy/stmgc/changeset/903f2a6c1ed9/
Log: Forgot to generate these events
diff --git a/c7/stm/contention.c b/c7/stm/contention.c
--- a/c7/stm/contention.c
+++ b/c7/stm/contention.c
@@ -178,12 +178,16 @@
dprintf(("pausing...\n"));
+ timing_event(STM_SEGMENT->running_thread, STM_WAIT_CONTENTION);
+
cond_signal(C_AT_SAFE_POINT);
STM_PSEGMENT->safe_point = SP_WAIT_FOR_C_TRANSACTION_DONE;
cond_wait(C_TRANSACTION_DONE);
STM_PSEGMENT->safe_point = SP_RUNNING;
dprintf(("pausing done\n"));
+ timing_event(STM_SEGMENT->running_thread, STM_WAIT_DONE);
+
if (must_abort())
abort_with_mutex();
}
@@ -201,6 +205,9 @@
it does. */
contmgr.other_pseg->pub.nursery_end = NSE_SIGABORT;
+ timing_event(STM_SEGMENT->running_thread,
+ STM_ABORTING_OTHER_CONTENTION);
+
int sp = contmgr.other_pseg->safe_point;
switch (sp) {
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit