3.10.8. Reporting runtime informationΒΆ

Information about the runtime may be obtained by running the application with the loader.report_prefix configuration variable, or by invoking the following command:

$ nanos6-info --runtime-details
Runtime path /opt/nanos6/lib/libnanos6-optimized.so.0.0.0
Runtime Version 2017-11-07 09:26:03 +0100 5cb1900
Runtime Branch master
Runtime Compiler Version g++ (Debian 7.2.0-12) 7.2.1 20171025
Runtime Compiler Flags -DNDEBUG -Wall -Wextra -Wdisabled-optimization -Wshadow -fvisibility=hidden -O3 -flto
Initial CPU List 0-3
NUMA Node 0 CPU List 0-3
Scheduler priority
Dependency Implementation regions (linear-regions-fragmented)
Threading Model pthreads

The loader.report_prefix configuration variable may be defined as an empty string or it may contain a string that will be prepended to each line. For instance, it can contain a sequence that starts a comment in the output of the program. Example:

$ NANOS6_CONFIG_OVERRIDE="loader.report_prefix=#" ./app
Some application output ...
#   string  version 2017-11-07 09:26:03 +0100 5cb1900       Runtime Version
#   string  branch  master      Runtime Branch
#   string  compiler_version    g++ (Debian 7.2.0-12) 7.2.1 20171025        Runtime Compiler Version
#   string  compiler_flags  -DNDEBUG -Wall -Wextra -Wdisabled-optimization -Wshadow -fvisibility=hidden -O3 -flto       Runtime Compiler Flags
#   string  initial_cpu_list    0-3     Initial CPU List
#   string  numa_node_0_cpu_list    0-3     NUMA Node 0 CPU List
#   string  scheduler   priority        Scheduler
#   string  dependency_implementation   regions (linear-regions-fragmented)       Dependency Implementation
#   string  threading_model pthreads        Threading Model