File: tracelogger_options.sh

package info (click to toggle)
0ad 0.0.21-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 54,068 kB
  • sloc: cpp: 230,527; ansic: 23,115; python: 13,559; perl: 2,499; sh: 948; xml: 776; makefile: 696; java: 533; ruby: 229; erlang: 53; sql: 21
file content (21 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# Source this script with `. tl-options.sh` in order to set up environment variables for the
# SpiderMonkey tracelogger.
# Once the variables are set, run ./pyrogenesis in binaries/system with the options you need and
# the tracelogging data will be saved to source/tools/tracelogger/

# After the run, use this tool: https://github.com/h4writer/tracelogger to display the data.
# The last tested version of the tool is 1c67e97e794b5039d0cae95f72ea0c76e4aa4696,
# it can be used if more recent versions cause trouble.

# Use semicolons to separate values on Windows.
# If that produces bogus output, you can try with commas instead.
if [ "${OS}" = "Windows_NT" ]
then
  export TLLOG="Defaults;IonCompiler"
  export TLOPTIONS="EnableMainThread;EnableOffThread;EnableGraph"
else
  export TLLOG=Defaults,IonCompiler
  export TLOPTIONS=EnableMainThread,EnableOffThread,EnableGraph
fi