wiki:DsxPosix

Posix version

You may compile your application using software implementation of your tasks.

Debugging tools

You may use gdb, ddd, whatever. I wont describe it here.

Logs

Dsx will log MwMr fifos contents to files, there will appear all read/written data, from where. The file will be named after the MwMr fifo's name name.txt

Dsx will also log messages on terminal, and to a file named dsx_trace.txt. You may change minimal DsxLogging level displayed through environment variable DSX_VERBOSITY:

$ export DSX_VERBOSITY=TRACE
$ ./exe.posix

Or even, for a one-time change:

$ DSX_VERBOSITY=TRACE ./exe.posix

Options when instanciating Posix

You can activate verbosity to see compilation lines:

tcg.generate(Posix(VERBOSE=1))

You can also specify compilation flags that will be used in the make execution (compilation and linking). For example, to add the profiling option:

tcg.generate(Posix(COMPILE_FLAGS="-pg"))
Last modified 13 years ago Last modified on Jul 6, 2011, 9:58:34 AM