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