Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/profiler/Profiler.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
14 * its contributors may be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29 #ifndef Profiler_h
30 #define Profiler_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/profiler/Profiler.h:30:9`!
31
32 #include "Profile.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/profiler/Profile.h`/
33 #include <wtf/PassRefPtr.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/PassRefPtr.h`/
34 #include <wtf/RefPtr.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/RefPtr.h`/
35 #include <wtf/Vector.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h`/
36
37 namespace JSCcxx . . $ `<built-in>:463:9`! {
38
39 class ExecStatecxx . . $ QTJSC/ExecState#;
40 class JSGlobalDatacxx . . $ QTJSC/JSGlobalData#;
41 class JSObjectcxx . . $ QTJSC/JSObject#;
42 class JSValuecxx . . $ QTJSC/JSValue#;
43 class ProfileGeneratorcxx . . $ QTJSC/ProfileGenerator#;
44 class UStringcxx . . $ QTJSC/UString#;
45 struct CallIdentifiercxx . . $ QTJSC/CallIdentifier#;
46
47 class Profilercxx . . $ QTJSC/Profiler# : public FastAllocBasecxx . . $ FastAllocBase# {
48 public:
49 static Profilercxx . . $ QTJSC/Profiler#** enabledProfilerReferencecxx . . $ QTJSC/Profiler#enabledProfilerReference(3c6d24c096f14502).()
50 {
51 return &s_sharedEnabledProfilerReferencecxx . . $ QTJSC/Profiler#s_sharedEnabledProfilerReference.;
52 }
53
54 static Profilercxx . . $ QTJSC/Profiler#* profilercxx . . $ QTJSC/Profiler#profiler(8ec02ee3ac6bd078).();
55 static CallIdentifiercxx . . $ QTJSC/CallIdentifier# createCallIdentifiercxx . . $ QTJSC/Profiler#createCallIdentifier(df90f5aa91bddef8).(ExecStatecxx . . $ QTJSC/ExecState#* exec, JSValuecxx . . $ QTJSC/JSValue#, const UStringcxx . . $ QTJSC/UString#& sourceURL, int lineNumber);
56
57 void startProfilingcxx . . $ QTJSC/Profiler#startProfiling(7710b6c66c0f9b39).(ExecStatecxx . . $ QTJSC/ExecState#*, const UStringcxx . . $ QTJSC/UString#& title);
58 PassRefPtrcxx . . $ PassRefPtr#<Profilecxx . . $ QTJSC/Profile#> stopProfilingcxx . . $ QTJSC/Profiler#stopProfiling(61c399322a76e605).(ExecStatecxx . . $ QTJSC/ExecState#*, const UStringcxx . . $ QTJSC/UString#& title);
59
60 void willExecutecxx . . $ QTJSC/Profiler#willExecute(1aadac95d0a8d6ce).(ExecStatecxx . . $ QTJSC/ExecState#*, JSValuecxx . . $ QTJSC/JSValue# function);
61 void willExecutecxx . . $ QTJSC/Profiler#willExecute(ac8610a35a2ea244).(ExecStatecxx . . $ QTJSC/ExecState#*, const UStringcxx . . $ QTJSC/UString#& sourceURL, int startingLineNumber);
62 void didExecutecxx . . $ QTJSC/Profiler#didExecute(1aadac95d0a8d6ce).(ExecStatecxx . . $ QTJSC/ExecState#*, JSValuecxx . . $ QTJSC/JSValue# function);
63 void didExecutecxx . . $ QTJSC/Profiler#didExecute(ac8610a35a2ea244).(ExecStatecxx . . $ QTJSC/ExecState#*, const UStringcxx . . $ QTJSC/UString#& sourceURL, int startingLineNumber);
64
65 const Vector<RefPtr<ProfileGenerator> >& currentProfilescxx . . $ QTJSC/Profiler#currentProfiles(221979ca7d784ae2).() { return m_currentProfiles; };
66
67 private:
68 Vector<RefPtr<ProfileGenerator> > m_currentProfilescxx . . $ QTJSC/Profiler#m_currentProfiles.;
69 static Profilercxx . . $ QTJSC/Profiler#* s_sharedProfilercxx . . $ QTJSC/Profiler#s_sharedProfiler.;
70 static Profilercxx . . $ QTJSC/Profiler#* s_sharedEnabledProfilerReferencecxx . . $ QTJSC/Profiler#s_sharedEnabledProfilerReference.;
71 };
72
73 } // namespace JSC
74
75 #endif // Profiler_h