Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
allow to configure file names for memory profile reports
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Aug 29, 2015
1 parent 281bf60 commit e6510d0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/core/runtime.d
Expand Up @@ -326,6 +326,8 @@ private:
*
* Params:
* path = The new path name.
* Note:
* This is a dmd specific setting.
*/
extern (C) void dmd_coverSourcePath(string path);

Expand All @@ -334,6 +336,8 @@ extern (C) void dmd_coverSourcePath(string path);
*
* Params:
* path = The new path name.
* Note:
* This is a dmd specific setting.
*/
extern (C) void dmd_coverDestPath(string path);

Expand All @@ -342,9 +346,22 @@ extern (C) void dmd_coverDestPath(string path);
*
* Params:
* flag = enable/disable coverage merge mode
* Note:
* This is a dmd specific setting.
*/
extern (C) void dmd_coverSetMerge(bool flag);

/**
* Set the output file name for memory profile reports (-profile=gc switch).
* An empty name will set the output to stdout.
*
* Params:
* name = file name
* Note:
* This is a dmd specific setting.
*/
extern (C) void profilegc_setlogfilename(string name);

///////////////////////////////////////////////////////////////////////////////
// Overridable Callbacks
///////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit e6510d0

Please sign in to comment.