change gettickcount()  to gettickcount64()