Author: Tobias Weber <[email protected]>
Branch: c8-overheads-instrumentation
Changeset: r2027:4e133ea2cf02
Date: 2017-03-10 16:43 +0100
http://bitbucket.org/pypy/stmgc/changeset/4e133ea2cf02/
Log: Update duration logging events with additional contributors
diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -961,7 +961,7 @@
void _stm_write_slowpath(object_t *obj) {
start_timer()
write_slowpath_common(obj, /* mark_card */ false);
- stop_timer_and_publish(STM_DURATION_WRITE_BARRIER)
+ stop_timer_and_publish(STM_DURATION_WRITE_SLOWPATH)
}
diff --git a/c8/stmgc.h b/c8/stmgc.h
--- a/c8/stmgc.h
+++ b/c8/stmgc.h
@@ -575,11 +575,14 @@
STM_GC_MAJOR_DONE,
/* execution duration profiling events */
- STM_DURATION_WRITE_BARRIER,
+ STM_DURATION_WRITE_GC_ONLY,
+ STM_DURATION_WRITE_SLOWPATH,
STM_DURATION_VALIDATION,
- STM_DURATION_COMMIT,
+ STM_DURATION_COMMIT_MINOR_GC,
+ STM_DURATION_COMMIT_ALL,
STM_DURATION_MINOR_GC,
- STM_DURATION_MAJOR_GC,
+ STM_DURATION_MAJOR_GC_LOG_ONLY,
+ STM_DURATION_MAJOR_GC_FULL,
_STM_EVENT_N
};
@@ -597,11 +600,14 @@
"gc major start", \
"gc major done", \
/* names of duration events */ \
+ "duration of minor gc due to write", \
"duration of write slowpath", \
"duration of validation", \
- "duration of commit", \
+ "duration of minor gc due to commit", \
+ "duration of commit except minor gc", \
"duration of minor gc", \
- "duration of major gc"
+ "duration of major gc doing log clean up only",\
+ "duration of full major gc"
/* The markers pushed in the shadowstack are an odd number followed by a
regular object pointer. */
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit