def toc(prev=None):
    if prev is None:
        prev = gStartTime
    return (datetime.utcnow() - prev).total_seconds()
Get a timestamp in seconds. Time interval is from previous call of tic() to current call of toc().
dataset/ETHPy150Open dssg/ushine-learning/dssg/util.py/toc