Home | History | Annotate | Download | only in profiling

Lines Matching refs:ProfilingStack

110 struct ProfilingStack {
117 ProfilingStack() { memset(this, 0, sizeof(ProfilingStack)); }
121 ReleaseBuildAssertion(size < kMaxSize, "ProfilingStack overflow");
128 ReleaseBuildAssertion(size > 0, "ProfilingStack underflow");
138 ProfilingStack& operator=(const ProfilingStack& other) {
139 memcpy(this, &other, sizeof(ProfilingStack));
143 bool operator==(const ProfilingStack& other) const {
144 return !memcmp(this, &other, sizeof(ProfilingStack));
149 !(sizeof(ProfilingStack) & (sizeof(ProfilingStack) - 1)),
150 "ProfilingStack should have power-of-two size to fit in cache lines");
162 ProfilingStack stack;
205 ProfilingStack* profiling_stack_;