summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-11-03 19:47:51 +0000
committerJosé Fonseca <jfonseca@vmware.com>2009-11-04 12:15:29 +0000
commit0b4ea45e8aded79557da3a51bb88c9bbacfa07dc (patch)
tree888d333448375fc9c96d4f3b3e465fcc9a8cfe8d /scons
parent767bc8eb5a0bbaf9fde9d760e8460d34c51d2991 (diff)
util: Remove homegrown Windows KM profiler.
It's not sampling based so its results are biased towards functions called many times.
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py5
-rw-r--r--scons/generic.py7
2 files changed, 0 insertions, 12 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index a6d69fd16d..483bd5d29e 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -392,11 +392,6 @@ def generate(env):
'/O2', # optimize for speed
#'/fp:fast', # fast floating point
]
- if env['profile']:
- ccflags += [
- '/Gh', # enable _penter hook function
- '/GH', # enable _pexit hook function
- ]
ccflags += [
'/W3', # warning level
#'/Wp64', # enable 64 bit porting warnings
diff --git a/scons/generic.py b/scons/generic.py
index a3b73b09b9..859bf2ae64 100644
--- a/scons/generic.py
+++ b/scons/generic.py
@@ -406,8 +406,6 @@ def generate(env):
ccflags += ['-O0', '-g3'] # mingw 4.2.1 optimizer is broken
else:
ccflags += ['-O3', '-g0']
- if env['profile']:
- ccflags += ['-pg']
if env['machine'] == 'x86':
ccflags += [
'-m32',
@@ -450,11 +448,6 @@ def generate(env):
'/Ot', # favor code speed
#'/fp:fast', # fast floating point
]
- if env['profile']:
- ccflags += [
- '/Gh', # enable _penter hook function
- '/GH', # enable _pexit hook function
- ]
ccflags += [
'/W3', # warning level
#'/Wp64', # enable 64 bit porting warnings