基于 MPI 的多服务器时间校准(C++

基本信息

案例ID:204937

技术顾问:Catherine喜洋洋 - 3年经验 - 德州仪器

联系沟通

微信扫码,建群沟通

项目名称:基于 MPI 的多服务器时间校准(C++

所属行业:人工智能 - 智能硬件

->查看更多案例

案例介绍

there is a server A 10.10.70.200 and server tb:

1. record current timestamp TA[n-1](use RDTSC time counter), call GstRouterSend(GstRouterSend is actually MPI_Send with some wrapper) in GstRouterOMPI.cpp to send timestamp data to server tb 10.10.70.201
2. after sending successfully, call GstRouterRecv in GstRouterOMPI.cpp to receive the timestamp data sent by server tb(use RDTSC time counter)
3. after receiving successfully, resolve and record the timestamp Ttb[n-1](RDTSC counter) of server tb to record current timestamp(RDTSC counter) TA[n]
4. when the above steps are done, loop back to step 1, do the operaton N times according to the loop number N
when the aboves are done, server A could get all the data in {TA[n]} and {Ttb[n]}, thus get the estimation value of C. the equation for estimating C is as below:

d= (sum of (TA[n]-TA[n-1]) from n=1 to n=N)/2N;
C= (sum of (TA[n] - Ttb[n-1]) from n=1 to n=N)/N - d;
5. dump nodename.dat files to record the following information

相似案例推荐

其他人才的相似案例推荐

发布任务

企业点击发布任务,工程师会在任务下报名,招聘专员也会在1小时内与您联系,1小时内精准确定人才

微信接收人才推送

关注猿急送微信平台,接收实时人才推送

接收人才推送
联系需求方端客服
联系需求方端客服