File: DebugMode.txt

package info (click to toggle)
ray 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,128 kB
  • ctags: 6,125
  • sloc: cpp: 49,973; sh: 325; makefile: 278; python: 168
file content (18 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
The debug mode if RayPlatform can be enabled by calling
ComputeCore::enableProfiler().

For instance, Ray is a software that uses RayPlatform and its option
-debug does just that.

Furthermore, the RayPlatform debug mode can be activated in the middle
of a computation by sending SIGUSR1 to processes that should activate
debug mode. Sending SIGUSR1 again will disable the debug mode. Basically,
Sending SIGUSR1 toggles the debug mode.

In the future, sending SIGUSR1 to the RayPlatform core will cause it
to read (or attempt to) a command file named Commands.txt in the
current directory (PWD).

See also Documentation/profiling.txt