Author: Tobias Weber <[email protected]>
Branch: c8-adaptive-trx-length-per-thread
Changeset: r2102:4f80bfd40482
Date: 2017-07-11 17:03 +0200
http://bitbucket.org/pypy/stmgc/changeset/4f80bfd40482/
Log: Merge instrumentation updates
diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -359,9 +359,6 @@
static struct stm_commit_log_entry_s *_create_commit_log_entry(void)
{
/* puts all modified_old_objects in a new commit log entry */
-
- start_timer();
-
// we don't need the privatization lock, as we are only
// reading from modified_old_objs and nobody but us can change it
struct list_s *list = STM_PSEGMENT->modified_old_objects;
@@ -375,8 +372,6 @@
result->written_count = count;
memcpy(result->written, list->items, count * sizeof(struct stm_undo_s));
- stop_timer_and_publish(STM_DURATION_CREATE_CLE);
-
return result;
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit