webdetector/.cache/16/2fe0d79d219f58c54b492fd0096212.json
2018-12-21 13:36:28 +01:00

1 line
27 KiB
JSON

{"id":"../node_modules/@pushrocks/smarttime/dist/smarttime.classes.hrtmeasurement.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/@pushrocks/smarttime/ts/smarttime.classes.hrtmeasurement.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/@pushrocks/smarttime/package.json","includedInParent":true,"mtime":1545395356342},{"name":"process","loc":{"line":3,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/@pushrocks/smarttime/dist/smarttime.classes.hrtmeasurement.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/process/browser.js"}],"generated":{"js":"\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst process = require(\"process\");\n/**\n * easy high resolution time measurement\n */\nclass HrtMeasurement {\n constructor() {\n this.nanoSeconds = null;\n this.milliSeconds = null;\n this._hrTimeStart = null;\n this._hrTimeStopDiff = null;\n this._started = false;\n }\n /**\n * start the measurement\n */\n start() {\n this._started = true;\n this._hrTimeStart = process.hrtime();\n }\n /**\n * stop the measurement\n */\n stop() {\n if (this._started === false) {\n console.log(\"Hasn't started yet\");\n return;\n }\n this._hrTimeStopDiff = process.hrtime(this._hrTimeStart);\n this.nanoSeconds = this._hrTimeStopDiff[0] * 1e9 + this._hrTimeStopDiff[1];\n this.milliSeconds = this.nanoSeconds / 1000000;\n return this;\n }\n /**\n * reset the measurement\n */\n reset() {\n this.nanoSeconds = null;\n this.milliSeconds = null;\n this._hrTimeStart = null;\n this._hrTimeStopDiff = null;\n this._started = false;\n }\n}\nexports.HrtMeasurement = HrtMeasurement;\n","map":{"mappings":[{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":4,"column":0}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":1,"column":35},"generated":{"line":4,"column":35}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":5,"column":0}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":5,"column":3},"generated":{"line":7,"column":3}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":8,"column":0}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":6,"column":13},"generated":{"line":8,"column":6}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":6,"column":27},"generated":{"line":8,"column":20}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":9,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":7,"column":2},"generated":{"line":10,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":7,"column":13},"generated":{"line":10,"column":24}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":7,"column":24},"generated":{"line":10,"column":27}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":7,"column":28},"generated":{"line":10,"column":31}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":7,"column":29},"generated":{"line":10,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":8,"column":2},"generated":{"line":11,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":8,"column":14},"generated":{"line":11,"column":25}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":8,"column":25},"generated":{"line":11,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":8,"column":29},"generated":{"line":11,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":8,"column":30},"generated":{"line":11,"column":33}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":9,"column":10},"generated":{"line":12,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":9,"column":22},"generated":{"line":12,"column":25}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":9,"column":25},"generated":{"line":12,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":9,"column":29},"generated":{"line":12,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":9,"column":30},"generated":{"line":12,"column":33}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":10,"column":10},"generated":{"line":13,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":10,"column":25},"generated":{"line":13,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":10,"column":28},"generated":{"line":13,"column":31}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":10,"column":32},"generated":{"line":13,"column":35}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":10,"column":33},"generated":{"line":13,"column":36}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":11,"column":10},"generated":{"line":14,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":11,"column":18},"generated":{"line":14,"column":21}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":11,"column":30},"generated":{"line":14,"column":24}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":11,"column":35},"generated":{"line":14,"column":29}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":11,"column":36},"generated":{"line":14,"column":30}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":45,"column":0},"generated":{"line":15,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":45,"column":1},"generated":{"line":15,"column":5}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":16,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":15,"column":5},"generated":{"line":18,"column":7}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":16,"column":2},"generated":{"line":19,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":16,"column":7},"generated":{"line":19,"column":9}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":17,"column":4},"generated":{"line":20,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":17,"column":8},"generated":{"line":20,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":17,"column":9},"generated":{"line":20,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":17,"column":17},"generated":{"line":20,"column":21}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":17,"column":20},"generated":{"line":20,"column":24}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":17,"column":24},"generated":{"line":20,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":17,"column":25},"generated":{"line":20,"column":29}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":4},"generated":{"line":21,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":8},"generated":{"line":21,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":9},"generated":{"line":21,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":21,"column":25}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":24},"generated":{"line":21,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":31},"generated":{"line":21,"column":35}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":32},"generated":{"line":21,"column":36}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":21,"column":42}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":40},"generated":{"line":21,"column":44}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":18,"column":41},"generated":{"line":21,"column":45}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":19,"column":2},"generated":{"line":22,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":19,"column":3},"generated":{"line":22,"column":5}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":21,"column":2},"generated":{"line":23,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":23,"column":5},"generated":{"line":25,"column":7}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":24,"column":2},"generated":{"line":26,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":24,"column":6},"generated":{"line":26,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":4},"generated":{"line":27,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":8},"generated":{"line":27,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":12},"generated":{"line":27,"column":16}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":13},"generated":{"line":27,"column":17}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":21},"generated":{"line":27,"column":25}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":26},"generated":{"line":27,"column":30}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":31},"generated":{"line":27,"column":35}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":25,"column":33},"generated":{"line":27,"column":37}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":6},"generated":{"line":28,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":13},"generated":{"line":28,"column":19}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":14},"generated":{"line":28,"column":20}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":17},"generated":{"line":28,"column":23}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":18},"generated":{"line":28,"column":24}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":38},"generated":{"line":28,"column":44}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":39},"generated":{"line":28,"column":45}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":26,"column":40},"generated":{"line":28,"column":46}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":27,"column":6},"generated":{"line":29,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":27,"column":13},"generated":{"line":29,"column":19}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":28,"column":5},"generated":{"line":30,"column":9}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":4},"generated":{"line":31,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":8},"generated":{"line":31,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":31,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":24},"generated":{"line":31,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":27},"generated":{"line":31,"column":31}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":34},"generated":{"line":31,"column":38}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":35},"generated":{"line":31,"column":39}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":41},"generated":{"line":31,"column":45}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":42},"generated":{"line":31,"column":46}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":46},"generated":{"line":31,"column":50}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":47},"generated":{"line":31,"column":51}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":59},"generated":{"line":31,"column":63}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":60},"generated":{"line":31,"column":64}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":29,"column":61},"generated":{"line":31,"column":65}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":32,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":8},"generated":{"line":32,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":9},"generated":{"line":32,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":20},"generated":{"line":32,"column":24}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":23},"generated":{"line":32,"column":27}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":27},"generated":{"line":32,"column":31}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":28},"generated":{"line":32,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":43},"generated":{"line":32,"column":47}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":44},"generated":{"line":32,"column":48}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":45},"generated":{"line":32,"column":49}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":46},"generated":{"line":32,"column":50}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":49},"generated":{"line":32,"column":53}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":52},"generated":{"line":32,"column":56}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":55},"generated":{"line":32,"column":59}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":59},"generated":{"line":32,"column":63}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":60},"generated":{"line":32,"column":64}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":75},"generated":{"line":32,"column":79}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":76},"generated":{"line":32,"column":80}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":77},"generated":{"line":32,"column":81}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":78},"generated":{"line":32,"column":82}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":30,"column":79},"generated":{"line":32,"column":83}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":4},"generated":{"line":33,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":8},"generated":{"line":33,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":9},"generated":{"line":33,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":21},"generated":{"line":33,"column":25}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":24},"generated":{"line":33,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":28},"generated":{"line":33,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":29},"generated":{"line":33,"column":33}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":40},"generated":{"line":33,"column":44}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":43},"generated":{"line":33,"column":47}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":50},"generated":{"line":33,"column":54}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":31,"column":51},"generated":{"line":33,"column":55}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":32,"column":4},"generated":{"line":34,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":32,"column":11},"generated":{"line":34,"column":15}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":32,"column":15},"generated":{"line":34,"column":19}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":32,"column":16},"generated":{"line":34,"column":20}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":33,"column":2},"generated":{"line":35,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":33,"column":3},"generated":{"line":35,"column":5}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":35,"column":2},"generated":{"line":36,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":37,"column":5},"generated":{"line":38,"column":7}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":38,"column":2},"generated":{"line":39,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":38,"column":7},"generated":{"line":39,"column":9}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":39,"column":4},"generated":{"line":40,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":39,"column":8},"generated":{"line":40,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":39,"column":9},"generated":{"line":40,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":39,"column":20},"generated":{"line":40,"column":24}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":39,"column":23},"generated":{"line":40,"column":27}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":39,"column":27},"generated":{"line":40,"column":31}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":39,"column":28},"generated":{"line":40,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":40,"column":4},"generated":{"line":41,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":40,"column":8},"generated":{"line":41,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":40,"column":9},"generated":{"line":41,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":40,"column":21},"generated":{"line":41,"column":25}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":40,"column":24},"generated":{"line":41,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":40,"column":28},"generated":{"line":41,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":40,"column":29},"generated":{"line":41,"column":33}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":41,"column":4},"generated":{"line":42,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":41,"column":8},"generated":{"line":42,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":41,"column":9},"generated":{"line":42,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":41,"column":21},"generated":{"line":42,"column":25}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":41,"column":24},"generated":{"line":42,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":41,"column":28},"generated":{"line":42,"column":32}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":41,"column":29},"generated":{"line":42,"column":33}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":42,"column":4},"generated":{"line":43,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":42,"column":8},"generated":{"line":43,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":42,"column":9},"generated":{"line":43,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":42,"column":24},"generated":{"line":43,"column":28}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":42,"column":27},"generated":{"line":43,"column":31}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":42,"column":31},"generated":{"line":43,"column":35}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":42,"column":32},"generated":{"line":43,"column":36}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":43,"column":4},"generated":{"line":44,"column":8}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":43,"column":8},"generated":{"line":44,"column":12}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":44,"column":13}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":43,"column":17},"generated":{"line":44,"column":21}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":43,"column":20},"generated":{"line":44,"column":24}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":43,"column":25},"generated":{"line":44,"column":29}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":43,"column":26},"generated":{"line":44,"column":30}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":44,"column":2},"generated":{"line":45,"column":4}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":44,"column":3},"generated":{"line":45,"column":5}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":45,"column":1},"generated":{"line":46,"column":1}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":6,"column":0},"generated":{"line":47,"column":0}},{"source":"../ts/smarttime.classes.hrtmeasurement.ts","name":null,"original":{"line":45,"column":1},"generated":{"line":47,"column":40}}],"sources":{"../ts/smarttime.classes.hrtmeasurement.ts":"import * as process from 'process';\n\n/**\n * easy high resolution time measurement\n */\nexport class HrtMeasurement {\n nanoSeconds: number = null;\n milliSeconds: number = null;\n private _hrTimeStart = null;\n private _hrTimeStopDiff = null;\n private _started: boolean = false;\n\n /**\n * start the measurement\n */\n start() {\n this._started = true;\n this._hrTimeStart = process.hrtime();\n }\n\n /**\n * stop the measurement\n */\n stop() {\n if (this._started === false) {\n console.log(\"Hasn't started yet\");\n return;\n }\n this._hrTimeStopDiff = process.hrtime(this._hrTimeStart);\n this.nanoSeconds = this._hrTimeStopDiff[0] * 1e9 + this._hrTimeStopDiff[1];\n this.milliSeconds = this.nanoSeconds / 1000000;\n return this;\n }\n\n /**\n * reset the measurement\n */\n reset() {\n this.nanoSeconds = null;\n this.milliSeconds = null;\n this._hrTimeStart = null;\n this._hrTimeStopDiff = null;\n this._started = false;\n }\n}\n"},"lineCount":null}},"hash":"fa36690be96fcd43046955102fdaf32e","cacheData":{"env":{}}}