| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 unsigned long long id, | 89 unsigned long long id, |
| 90 unsigned long long bindId, | 90 unsigned long long bindId, |
| 91 double timestamp, | 91 double timestamp, |
| 92 int numArgs, | 92 int numArgs, |
| 93 const char* argNames[], | 93 const char* argNames[], |
| 94 const unsigned char argTypes[], | 94 const unsigned char argTypes[], |
| 95 const unsigned long long argValues[], | 95 const unsigned long long argValues[], |
| 96 unsigned flags); | 96 unsigned flags); |
| 97 static void updateTraceEventDuration(const unsigned char* categoryEnabledFla
g, const char* name, TraceEvent::TraceEventHandle); | 97 static void updateTraceEventDuration(const unsigned char* categoryEnabledFla
g, const char* name, TraceEvent::TraceEventHandle); |
| 98 static double systemTraceTime(); | 98 static double systemTraceTime(); |
| 99 static void pushPseudoStackFrame(const char* stackFrame); |
| 100 static void popPseudoStackFrame(const char* stackFrame); |
| 99 | 101 |
| 100 private: | 102 private: |
| 101 static TraceEvent::TraceEventHandle addTraceEvent(char phase, | 103 static TraceEvent::TraceEventHandle addTraceEvent(char phase, |
| 102 const unsigned char* categoryEnabledFlag, | 104 const unsigned char* categoryEnabledFlag, |
| 103 const char* name, | 105 const char* name, |
| 104 const char* scope, | 106 const char* scope, |
| 105 unsigned long long id, | 107 unsigned long long id, |
| 106 unsigned long long bindId, | 108 unsigned long long bindId, |
| 107 double timestamp, | 109 double timestamp, |
| 108 int numArgs, | 110 int numArgs, |
| 109 const char* argNames[], | 111 const char* argNames[], |
| 110 const unsigned char argTypes[], | 112 const unsigned char argTypes[], |
| 111 const unsigned long long argValues[], | 113 const unsigned long long argValues[], |
| 112 scoped_ptr<base::trace_event::ConvertableToTraceFormat>* convertables, | 114 scoped_ptr<base::trace_event::ConvertableToTraceFormat>* convertables, |
| 113 unsigned flags); | 115 unsigned flags); |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 } // namespace blink | 118 } // namespace blink |
| 117 | 119 |
| 118 #endif // EventTracer_h | 120 #endif // EventTracer_h |
| OLD | NEW |