Changeset 38425 in webkit for trunk/JavaScriptCore/VM/SamplingTool.h
- Timestamp:
- Nov 15, 2008, 12:34:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/SamplingTool.h
r38423 r38425 50 50 , m_codeBlock(0) 51 51 , m_sampleCount(0) 52 , m_ opcodeSampleCount(0)52 , m_bytecodeSampleCount(0) 53 53 , m_samples(0) 54 54 , m_size(0) … … 67 67 CodeBlock* m_codeBlock; 68 68 int m_sampleCount; 69 int m_ opcodeSampleCount;69 int m_bytecodeSampleCount; 70 70 int* m_samples; 71 71 unsigned m_size; … … 79 79 friend class HostCallRecord; 80 80 81 #if ENABLE( OPCODE_SAMPLING)81 #if ENABLE(BYTECODE_SAMPLING) 82 82 class CallRecord : Noncopyable { 83 83 public: … … 132 132 , m_sample(0) 133 133 , m_sampleCount(0) 134 , m_ opcodeSampleCount(0)134 , m_bytecodeSampleCount(0) 135 135 , m_scopeSampleMap(new ScopeSampleRecordMap()) 136 136 { 137 memset(m_ opcodeSamples, 0, sizeof(m_opcodeSamples));138 memset(m_ opcodeSamplesInCTIFunctions, 0, sizeof(m_opcodeSamplesInCTIFunctions));137 memset(m_bytecodeSamples, 0, sizeof(m_bytecodeSamples)); 138 memset(m_bytecodeSamplesInCTIFunctions, 0, sizeof(m_bytecodeSamplesInCTIFunctions)); 139 139 } 140 140 … … 202 202 // Gathered sample data. 203 203 long long m_sampleCount; 204 long long m_ opcodeSampleCount;205 unsigned m_ opcodeSamples[numOpcodeIDs];206 unsigned m_ opcodeSamplesInCTIFunctions[numOpcodeIDs];204 long long m_bytecodeSampleCount; 205 unsigned m_bytecodeSamples[numBytecodeIDs]; 206 unsigned m_bytecodeSamplesInCTIFunctions[numBytecodeIDs]; 207 207 208 208 Mutex m_scopeSampleMapMutex;
Note:
See TracChangeset
for help on using the changeset viewer.