Permalink
Browse files

load balancing profiling

  • Loading branch information...
1 parent f8ceee4 commit b65767a5cb219db99fcd1c377818c3d1811ce36c Cliff Moon committed Apr 4, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 include/profile.hrl
View
@@ -1,7 +1,9 @@
-ifdef(PROF).
+-define(balance_prof, dynomite_prof:balance_prof()).
-define(prof(Label), dynomite_prof:start_prof(Label)).
-define(forp(Label), dynomite_prof:stop_prof(Label)).
-else.
-define(prof(Label), true).
-define(forp(Label), true).
+-define(balance_prof, true).
-endif.

0 comments on commit b65767a

Please sign in to comment.