Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed static Uptime context. #1652

Merged

Conversation

marcpiechura
Copy link
Contributor

No description provided.

@marcpiechura marcpiechura force-pushed the Implemented_StartTime_and_Uptime branch from d13f35b to 46df3f5 Compare January 18, 2016 20:49
public TimeSpan Uptime => MonotonicClock.ElapsedHighRes;
public TimeSpan Uptime => MonotonicClock.ElapsedHighRes - _creationTime;

private readonly TimeSpan _creationTime = MonotonicClock.ElapsedHighRes;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, looks right

Aaronontheweb added a commit that referenced this pull request Jan 18, 2016
@Aaronontheweb Aaronontheweb merged commit e8421d4 into akkadotnet:dev Jan 18, 2016
@marcpiechura marcpiechura deleted the Implemented_StartTime_and_Uptime branch March 4, 2016 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants