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

Something for measuring time of execution #17

Open
si14 opened this issue Aug 10, 2011 · 1 comment
Open

Something for measuring time of execution #17

si14 opened this issue Aug 10, 2011 · 1 comment
Assignees
Labels

Comments

@si14
Copy link
Member

si14 commented Aug 10, 2011

?DBG("Starting pwrite"),
StartPWrt = erlang:now(),
file:pwrite(State#state.dump_file, Acc),
?DBG("Done pwrite, time: ~p", [timer:now_diff(StartPWrt, erlang:now())]),

annoying. Should invent something to make it easier.

@Cy6erBr4in
Copy link
Member

don't you know about timer:tc/2? :) doesn't it suit you?

@ghost ghost assigned si14 Aug 13, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants