|
From: <sv...@va...> - 2007-10-16 20:59:33
|
Author: sewardj
Date: 2007-10-16 21:59:33 +0100 (Tue, 16 Oct 2007)
New Revision: 7006
Log:
Comment-only change
Modified:
branches/THRCHECK/include/pub_tool_tooliface.h
Modified: branches/THRCHECK/include/pub_tool_tooliface.h
===================================================================
--- branches/THRCHECK/include/pub_tool_tooliface.h 2007-10-16 16:04:02 UTC (rev 7005)
+++ branches/THRCHECK/include/pub_tool_tooliface.h 2007-10-16 20:59:33 UTC (rev 7006)
@@ -547,13 +547,14 @@
/* Scheduler events (not exhaustive) */
/* Called when 'tid' starts or stops running client code blocks.
- Gives the total dispatched block count at that event. Note, this is
- not the same as 'tid' holding the BigLock (the lock that ensures that
- only one thread runs at a time): a thread can hold the lock for other
- purposes (making translations, etc) yet not be running client blocks.
- Obviously though, a thread must hold the lock in order to run client
- code blocks, so the times bracketed by 'thread_run'..'thread_runstate'
- are a subset of the times when thread 'tid' holds the cpu lock.
+ Gives the total dispatched block count at that event. Note, this
+ is not the same as 'tid' holding the BigLock (the lock that ensures
+ that only one thread runs at a time): a thread can hold the lock
+ for other purposes (making translations, etc) yet not be running
+ client blocks. Obviously though, a thread must hold the lock in
+ order to run client code blocks, so the times bracketed by
+ 'start_client_code'..'stop_client_code' are a subset of the times
+ when thread 'tid' holds the cpu lock.
*/
void VG_(track_start_client_code)(
void(*f)(ThreadId tid, ULong blocks_dispatched)
|