tools:logger_trace:start
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:logger_trace:start [2018/05/25 09:46] – [Concurrent Writing of Trace Data] graf | tools:logger_trace:start [2018/08/22 11:56] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| ===== Concurrent Writing of Trace Data ===== | ===== Concurrent Writing of Trace Data ===== | ||
| - | The example above shows how a trace buffer can be written to a file. This has to be done only after the executor stopped, because the writing usually takes a long time. If you wish to write a trace buffer to a file for further analysis while the application still runs, you can use a '' | + | The example above shows how a trace buffer can be written to a file. This has to be done only after the executor stopped, because the writing usually takes a long time. If you wish to write a trace buffer to a file for further analysis while the application still runs, you can use a '' | 
| <code cpp> | <code cpp> | ||
| - | if (slRunning.getNofActivations() % (int)(30 / period) == 0) {// write to log file every 30s | + |  | 
| - |  | + | |
| + |  | ||
| + |  | ||
| } | } | ||
| </ | </ | ||
| + | The name of the trace file will be appended with the current date and time. | ||
tools/logger_trace/start.1527234377.txt.gz · Last modified: 2018/05/25 09:46 (external edit)
                
                