计算由多个项目组成的系统的TIME [英] Calculating TIME for a system composed of multiple projects

查看:58
本文介绍了计算由多个项目组成的系统的TIME的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi
我使用C ++构建了一个用户身份验证系统。该系统由四个独立的项目(客户,商家,GSM和移动)组成,使用SSL进行通信。该系统通过用户向商家提交他的信息来工作,该商家将被传递到GSM,最终到达移动设备。

我想知道如何计算整个系统的时间(从用户提交他的信息开始,直到它到达手机)??



最好的问候

Hi I've build a user authentication system using C++. The system is composed of four separate projects (client, merchant, GSM, & mobile) which communicates using SSL. The system works by the user submitting his information to the merchant, which will be passed on to the GSM, to finally reach the mobile.
I was wondering how can I calculate the time for the whole system (starting from the time the user submits his information, until it reaches the mobile)??

Best Regards

推荐答案

由于您使用的是多个系统,因此您需要一个时钟来生成开始和结束时间戳。



您可以考虑使用自己的服务器(如果你有的话)生成时间戳。

或者你可以使用时间服务器 - 如果可用的话 - 从时间服务器获取日期和时间 [ ^ ]



但是,由于网络延迟,这对于毫秒来说并不准确。
Since you're using multiple systems, you will need a single clock to generate both the start and end time stamps.

You could consider using your own server (if you have one) to generate the time stamps.
Or you could use a time server if available - Get Date and Time from a time server[^]

However, this would not be precise to the millisecond due to network latency.


这篇关于计算由多个项目组成的系统的TIME的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆