Adding timer for the theo publishing time
This commit is contained in:
1 parent
b062a229c8
commit
ec0f42e76c
2 files changed
+8
-4
No files matched your search
+1
-1
Submodule docker/linux updated: 56c61231f3...6537812262.
@@ -91,10 +91,14 @@ namespace mbts.spark {
|
||||
bts.api.orderman.PrecomputedTheos server_theos = new PrecomputedTheos();
|
||||
server_theos.Theos.AddRange(ptp_list);
|
||||
_timer.stop();
|
||||
var comp_time = _timer.lastIntervalTime;
|
||||
_timer.start();
|
||||
_order_service.set_precomputed_theos(server_theos);
|
||||
_timer.stop();
|
||||
var pub_time = _timer.lastIntervalTime;
|
||||
bts.Log.Gen.info($"InterpTheosServerPublisher._publish_data " +
|
||||
$"size: {server_theos.Theos.Count} time: {_timer.lastIntervalTime} msecs");
|
||||
// TODO, send data to server
|
||||
// _order_service.set_precomputed_theos(server_theos);
|
||||
$"size: {server_theos.Theos.Count} comp_time: {comp_time} msecs " +
|
||||
$"pub_time: {pub_time}");
|
||||
}
|
||||
|
||||
public void Dispose() {
|
||||
|
||||
Reference in new issue
Block a user