Skip to content

Conversation

@adrianbj
Copy link
Contributor

No description provided.

@adrianbj
Copy link
Contributor Author

screen shot 2016-02-24 at 10 09 27 am

@dg
Copy link
Member

dg commented Feb 28, 2016

What about to add both information, user usage and system usage?

if(self::$getrusage) {
$dat = getrusage();
self::$rusage = $dat["ru_utime.tv_sec"]*1e6+$dat["ru_utime.tv_usec"];
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be skipped in production mode? Also your coding style is not correct.

@adrianbj
Copy link
Contributor Author

Sorry for the incorrect coding style - I assume you meant the location of curly braces? I'll be sure to pay more attention to this in any future PR's.

Thanks for implementing the system usage as well.

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