Changeset 163291 in webkit for trunk/Source/JavaScriptCore/tools
- Timestamp:
- Feb 3, 2014, 12:17:33 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/tools/CodeProfiling.cpp
r111618 r163291 49 49 #endif 50 50 51 #if ( PLATFORM(MAC) && CPU(X86_64)) || (OS(LINUX) && CPU(X86))51 #if (OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64)) || (OS(LINUX) && CPU(X86)) 52 52 // Helper function to start & stop the timer. 53 53 // Presently we're using the wall-clock timer, since this seems to give the best results. … … 67 67 #endif 68 68 69 #if PLATFORM(MAC) && CPU(X86_64)69 #if OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64) 70 70 static void profilingTimer(int, siginfo_t*, void* uap) 71 71 { … … 144 144 return; 145 145 146 #if ( PLATFORM(MAC) && CPU(X86_64)) || (OS(LINUX) && CPU(X86))146 #if (OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64)) || (OS(LINUX) && CPU(X86)) 147 147 // Regsiter a signal handler & itimer. 148 148 struct sigaction action; … … 168 168 return; 169 169 170 #if ( PLATFORM(MAC) && CPU(X86_64)) || (OS(LINUX) && CPU(X86))170 #if (OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64)) || (OS(LINUX) && CPU(X86)) 171 171 // Stop profiling 172 172 setProfileTimer(0);
Note:
See TracChangeset
for help on using the changeset viewer.