projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
71642b5
)
Drop Events and Items units in favor of Count as they represent pretty much the same...
author
Rodrigo Kumpera
<kumpera@gmail.com>
Mon, 28 Apr 2014 20:35:12 +0000
(16:35 -0400)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Mon, 28 Apr 2014 20:35:22 +0000
(16:35 -0400)
mono/utils/mono-counters.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-counters.h
b/mono/utils/mono-counters.h
index 82f3fb45532ea46d79e2a4ce9fc5070a2ab4e962..c590c64b095173e66cb987573a07ed59f0902ef6 100644
(file)
--- a/
mono/utils/mono-counters.h
+++ b/
mono/utils/mono-counters.h
@@
-33,9
+33,8
@@
enum {
MONO_COUNTER_RAW = 0 << 24, /* Raw value */
MONO_COUNTER_BYTES = 1 << 24, /* Quantity of bytes. RSS, active heap, etc */
MONO_COUNTER_TIME = 2 << 24, /* Time interval in 100ns units. Minor pause, JIT compilation*/
MONO_COUNTER_RAW = 0 << 24, /* Raw value */
MONO_COUNTER_BYTES = 1 << 24, /* Quantity of bytes. RSS, active heap, etc */
MONO_COUNTER_TIME = 2 << 24, /* Time interval in 100ns units. Minor pause, JIT compilation*/
- MONO_COUNTER_EVENTS = 3 << 24, /* Number of times the given event happens. Major collections, Compiled methods. */
- MONO_COUNTER_ITEMS = 4 << 24, /* Current number of things. Threads, queued jobs.*/
- MONO_COUNTER_PERCENTAGE = 5 << 24, /* [0-1] Fraction Percentage of something. Load average. */
+ MONO_COUNTER_COUNT = 3 << 24, /* Number of things (threads, queued jobs) or Number of events triggered (Major collections, Compiled methods).*/
+ MONO_COUNTER_PERCENTAGE = 4 << 24, /* [0-1] Fraction Percentage of something. Load average. */
/* Monotonicity, bits 28-31 (4 bits) */
MONO_COUNTER_VARIANCE_SHIFT = 28,
/* Monotonicity, bits 28-31 (4 bits) */
MONO_COUNTER_VARIANCE_SHIFT = 28,