Method FromPtr
FromPtr(double*)
Obtains a TimedScope.
Safety: durationMsPtr must be a non-null pointer to a valid memory location for a double.
Declaration
public static TimedScope FromPtr(double* durationMsPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| double* | durationMsPtr | The location to write the duration in milliseconds to. |
Returns
| Type | Description |
|---|---|
| TimedScope |