Skip to content

Commit

Permalink
getrusage allocates, so log that in the profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Mar 25, 2018
1 parent 5cff02d commit e7fee68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/profiler/instrument.c
Expand Up @@ -148,6 +148,7 @@ static void instrument_graph(MVMThreadContext *tc, MVMSpeshGraph *g) {
case MVM_OP_rand_I:
case MVM_OP_coerce_nI:
case MVM_OP_coerce_sI:
case MVM_OP_getrusage:
case MVM_OP_radix_I: {
add_allocation_logging(tc, g, bb, ins);
break;
Expand Down

0 comments on commit e7fee68

Please sign in to comment.