|
1 | | -// --------------------------------------------------------------------- |
| 1 | +// --------------------------------------------------------------------- |
2 | 2 | // Copyright (c) 2015 Microsoft |
3 | 3 | // |
4 | 4 | // Permission is hereby granted, free of charge, to any person obtaining a copy |
@@ -89,15 +89,15 @@ public void MemoryStreamCreated(Guid guid, string tag, long requestedSize, long |
89 | 89 | /// </summary> |
90 | 90 | /// <param name="guid">A unique ID for this stream.</param> |
91 | 91 | /// <param name="tag">A temporary ID for this stream, usually indicates current usage.</param> |
92 | | - /// <param name="lifetime">Lifetime of the stream</param> |
| 92 | + /// <param name="lifetimeMs">Lifetime in milliseconds of the stream</param> |
93 | 93 | /// <param name="allocationStack">Call stack of initial allocation.</param> |
94 | 94 | /// <param name="disposeStack">Call stack of the dispose.</param> |
95 | 95 | [Event(2, Level = EventLevel.Verbose, Version = 3)] |
96 | | - public void MemoryStreamDisposed(Guid guid, string tag, TimeSpan lifetime, string allocationStack, string disposeStack) |
| 96 | + public void MemoryStreamDisposed(Guid guid, string tag, long lifetimeMs, string allocationStack, string disposeStack) |
97 | 97 | { |
98 | 98 | if (this.IsEnabled(EventLevel.Verbose, EventKeywords.None)) |
99 | 99 | { |
100 | | - WriteEvent(2, guid, tag ?? string.Empty, lifetime, allocationStack ?? string.Empty, disposeStack ?? string.Empty); |
| 100 | + WriteEvent(2, guid, tag ?? string.Empty, lifetimeMs, allocationStack ?? string.Empty, disposeStack ?? string.Empty); |
101 | 101 | } |
102 | 102 | } |
103 | 103 |
|
|
0 commit comments