sleyzerzon / soar

Automatically exported from code.google.com/p/soar
1 stars 0 forks source link

smem --init sometimes clears output from previous commands #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. source a file containing this:

time run 5
smem --init
time run 5
smem --init
time run 5
smem --init
time run 5
smem --init

What is the expected output? What do you see instead?
I expect to see 3 different timing results. Instead all I see is the result of 
the source command. It appears that the smem --init is somehow clearing the 
results before they get printed? Interestingly, the behavior is a bit more 
complciated. If I do something like this:

time run 5
stats
p s1
smem --init

Everything except the time run 5 results is shown. Anyway, something funny is 
going on here. And no, I'm not sure that it's specific to smem --init.

Original issue reported on code.google.com by marin...@gmail.com on 13 Jun 2011 at 1:00