Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Compiler/Utilities/Activity.fs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module internal Activity =

depth this 0

let private activitySource = new ActivitySource(ActivityNames.FscSourceName)
let private activitySource = new ActivitySource(ActivityNames.FscSourceName, "")

let start (name: string) (tags: (string * string) seq) : System.IDisposable | null =
let activity = activitySource.CreateActivity(name, ActivityKind.Internal)
Expand Down Expand Up @@ -173,7 +173,8 @@ module internal Activity =

let profilingTags = [| workingSetMB; gc0; gc1; gc2; handles; threads |]

let private profiledSource = new ActivitySource(ActivityNames.ProfiledSourceName)
let private profiledSource =
new ActivitySource(ActivityNames.ProfiledSourceName, "")

let startAndMeasureEnvironmentStats (name: string) : System.IDisposable | null = profiledSource.StartActivity(name)

Expand Down
Loading