

def __init__(self, call_data):
    self_samples = call_data.self_sample_count
    cum_samples = call_data.cum_sample_count
    nsamples = state.sample_count
    secs_per_sample = (state.accumulated_time / nsamples)
    basename = os.path.basename(call_data.filename)
    self.name = ('%s:%d:%s' % (basename, call_data.lineno, call_data.name))
    self.pcnt_time_in_proc = ((self_samples / nsamples) * 100)
    self.cum_secs_in_proc = (cum_samples * secs_per_sample)
    self.self_secs_in_proc = (self_samples * secs_per_sample)
    self.num_calls = None
    self.self_secs_per_call = None
    cum_samples.cum_secs_per_call = None

dataset/ETHPy150Open binhex/moviegrabber/lib/site-packages/Cheetah/Utils/statprof.py CallStats.__init__/VarMisuse@119/193 `self`->`cum_samples`