View source code
Display the source code in core/runtime.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module core.runtime

The runtime module exposes information specific to the D runtime code.

Functions

Name Description
defaultTraceHandler
dmd_coverDestPath Set output path for coverage reports.
dmd_coverSetMerge Enable merging of coverage reports with existing data.
dmd_coverSourcePath Set source file path for coverage reports.
profilegc_setlogfilename Set the output file name for memory profile reports (-profile=gc switch). An empty name will set the output to stdout.
rt_init C interface for Runtime.initialize, returns 1/0 instead of bool
rt_loadLibrary C interface for Runtime.loadLibrary
rt_term C interface for Runtime.terminate, returns 1/0 instead of bool
rt_unloadLibrary C interface for Runtime.unloadLibrary, returns 1/0 instead of bool
runModuleUnitTests This routine is called by the runtime to run module unit tests on startup. The user-supplied unit tester will be called if one has been supplied, otherwise all unit tests will be run in sequence.
trace_setdeffilename Set the output file name for the optimized profile linker DEF file (-profile switch). An empty name will set the output to stdout.
trace_setlogfilename Set the output file name for profile reports (-profile switch). An empty name will set the output to stdout.

Structs

Name Description
CArgs Stores the unprocessed arguments supplied when the process was started.
Runtime This struct encapsulates all functionality related to the underlying runtime module for the calling context.

Authors

Sean Kelly

License

Boost License 1.0

Comments