aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/import_tracing/lib/event.py
blob: 94547e139808dda6c7dce0fdbb04fc788b7d270f (plain) (blame)
1
2
3
4
5
6
7
8
9
class Event:
    __slots__ = ("modname", "filename", "tid", "start_time", "end_time")

    def __init__(self, modname, filename, tid=None, start_time=None, end_time=None):
        self.modname = modname
        self.filename = filename
        self.tid = tid
        self.start_time = start_time
        self.end_time = end_time