Hi, I was using the sample script to reduce a 6.5 million line data trace (since histogram is very slow with that many lines) and tried 1% for the sample amount. It didn't work. Looked at the script and found that random.randint(1, 100) < sample_rate would never be true with the sample_rate == 1, so I fixed it.
Hi, I was using the sample script to reduce a 6.5 million line data trace (since histogram is very slow with that many lines) and tried 1% for the sample amount. It didn't work. Looked at the script and found that
random.randint(1, 100) < sample_rate
would never be true with the sample_rate == 1, so I fixed it.And a typo.
Thanks for making these scripts!