餐馆联邦一次运行的时间推进序列 (按时间排序的时间推进请求和time grant序列)
2010-11-17 11:05
429 查看
通过在源文件中加入System.out.print("Consumption-NER:-"+_logicalTime+" "+System.currentTimeMillis())类似的方式在标准输出设备上输出所有NER,TAR和time grant事件及其发生的系统时间点。然后在具体运行各个联邦成员时,把标准输出重定向到文本文件中,再把各个联邦成员产生的文本文件合并。导入到Excel中(分隔符为空格)。然后在Excel中按第二列(系统时间)排序,就得到了下面的事件时间序列。下面列出了从系统开始运行,逻辑时间为0到逻辑时间50秒内发生的事件序列。
首先看一下与时间推进有关的各个联邦的参数列表
联邦成员 时间推进方式 步长 lookahead
Manager TAR 1.0 0.01
Productioon NER 0.01
Transport TAR 1.0 0.01
Consumption NER 0.01
Viewer TAR 1.0 0.1
其中,Viewer不是时间调节的,其时间推进被忽略。则Manager和Transport都为TAR方式,而Production和Consumption都为NER方式。Manager以墙钟时间推进,因此在发出TAR请求之前,考虑了slppeTime,以确保其在整数秒发出TAR请求。
注意,对于TAR方式的时间推进,RTI会如下处理:
•The federate invokes this service to request its logical time to be advanced to T
–All RO messages in the RTI’s internal queues, and all TSO messages with time stamps £ T, are delivered to the federate after TAR(T) has been invoked
–If no other TSO messages with time stamps £ T are forthcoming (or will be generated by another federate later), the RTI calls the federate’s Time Advance Grant procedure with parameter T to indicate that the federate’s logical time has been advanced to T
注意,对于NER方式的时间推进,RTI会如下处理:
•After
the federate F invokes NER(T):
–The
RTI delivers all RO messages in its internal queue
–If
no present or future TSO message has a time stamp <= T,
the RTI invokes the federate’s Time
Advance Grant
procedure
indicating that the federate’s logical time has been
advanced to T
–Otherwise,
the RTI will deliver the next smallest TSO message
destined for F (with time stamp T´<= T)
and all other
messages with time stamp T´;
then the RTI calls Time
Advance Grant
procedure with parameter T´,
and
the logical time of F is advanced to T´
Production-NER:-time<1.5> 1290135754501
manager-TAR:-time<0.0> 1290135754511
Transport-TAR:-time<1.0> 1290135754531
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Consumption-NER:-time<INF> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Manager-TAR:-time<1.0> 1290135755612
Consumption-time-grant:-time<0.01> 1290135755652
//注释I: 此时,Manager TAR 1.0,Transport TAR 1.0,Consumption NER INF,Production NER 1.5. 依据前面的NER方式RTI的处理方式,RTI收到Consumption的NER INF请求时,用callback方式把应该发给Consumption并且带有时间戳小于1.5的最小时间戳T’(注意,这些事件的时间戳要一样,都是最小的时间戳)事件都发给Consumption。并且之后发送time grant to T'给Consumption
Manager-time-grant:-time<1.0> 1290135755682
//注释II:此时,Manager TAR 1.0,Transport TAR 1.0, Consumption time grant 0.01,Production NER 1.5,
//注意到Consumption此时的输出时间为1.01,而Production的输出时间也为1.01.
//而manager的TAR为1.0,因此time grant to 1.0
//虽然此时Consumption time grant to 0.01,但RTI应该能知道这个0.01是因为接收到具有0.01 timestamp的事件而由RTI发出的。
//并且RTI也应该能知道之前Consumption发出的NER INF
Production-time-grant:-time<0.01> 1290135755692
//跟上面对Consumption的解释道理一样。
Consumption-NER:-time<INF> 1290135755733
Production-NER:-time<1.5> 1290135755773
Transport-time-grant:-time<1.0> 1290135755903
//此时,跟上面对manager的解释道理一样。
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755943
Production-feflectAttributeValues:-time<1.01> 1290135755943
Production-feflectAttributeValues:-time<1.01> 1290135755943
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Transport-TAR:-time<2.0> 1290135756033
Production-feflectAttributeValues:-time<1.01> 1290135756043
Manager-TAR:-time<2.0> 1290135756794
Production-time-grant:-time<1.01> 1290135756814
//参照注释I
Manager-time-grant:-time<2.0> 1290135756824
//参照注释II 此时Manager TAR 2.0, Production time grant 1.01, Transport TAR 2.0, Consumption NER INF
//考虑到manager并没有订阅Production发布的任何对象属性,只订阅了SimulationEnds交互(Consumption发布)。因此,此时
//Manager可以不考虑Transport和Consumption的输出时间。
Consumption-time-grant:-time<1.01> 1290135756824
//参照注释I
Production-NER:-time<1.5> 1290135756834
Consumption-NER:-time<INF> 1290135756894
Production-time-grant:-time<1.5> 1290135756904
//没有发给Production的消息,但是Manager time grant 2.0, Production NER 1.5, Transport TAR 2.0,Consumption NER INF
//no present message, 也无future message time < 1.5
Consumption-feflectAttributeValues:-time<1.51> 1290135756994
Production-NER:-time<3.1> 1290135757094
Consumption-feflectAttributeValues:-time<1.51> 1290135757094
Consumption-time-grant:-time<1.51> 1290135757114
//参照注释I
Consumption-NER:-time<INF> 1290135757145
Transport-time-grant:-time<2.0> 1290135757195
//此时,Manager time grant 2.0,Production NER 3.1, Transport TAR 2.0, Consumption NER INF
Consumption-feflectAttributeValues:-time<2.01> 1290135757205
Consumption-feflectAttributeValues:-time<2.01> 1290135757215
Transport-TAR:-time<3.0> 1290135757235
Production-feflectAttributeValues:-time<2.01> 1290135757245
Production-feflectAttributeValues:-time<2.01> 1290135757245
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Consumption-feflectAttributeValues:-time<2.01> 1290135757275
Consumption-feflectAttributeValues:-time<2.01> 1290135757275
Manager-TAR:-time<3.0> 1290135757585
Production-time-grant:-time<2.01> 1290135757595
/参照注释I
Consumption-time-grant:-time<2.01> 1290135757615
//参照注释I
Manager-time-grant:-time<3.0> 1290135757645
//此时,Manager TAR 3.0, Production time grant to 2.01, Transport TAR 3.0, Consumption time grant to 2.01
//需要注意到此时,Production 当前是time grant to 2.01,但同样,这个time grant是RTI发送事件给production后发出的time grant,此前Production曾经发出NER 3.1的请求。对Consumption而言同样如此。RTI应该明白Consumption NER INF的请求更有效。
//这里的解释还需要细化。
Production-NER:-time<3.1> 1290135757655
Consumption-NER:-time<INF> 1290135757665
Transport-time-grant:-time<3.0> 1290135757725
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Transport-TAR:-time<4.0> 1290135757805
Manager-TAR:-time<4.0> 1290135758607
Consumption-time-grant:-time<3.01> 1290135758607
Manager-time-grant:-time<4.0> 1290135758627
Production-time-grant:-time<3.01> 1290135758657
Production-NER:-time<3.1> 1290135758687
Consumption-NER:-time<INF> 1290135758717
Production-time-grant:-time<3.1> 1290135758727
Consumption-feflectAttributeValues:-time<3.11> 1290135758857
Consumption-feflectAttributeValues:-time<3.11> 1290135758867
Consumption-feflectAttributeValues:-time<3.11> 1290135758867
Production-NER:-time<4.0> 1290135758917
Consumption-time-grant:-time<3.11> 1290135758997
Consumption-NER:-time<INF> 1290135759047
Transport-time-grant:-time<4.0> 1290135759097
Consumption-feflectAttributeValues:-time<4.01> 1290135759097
Consumption-feflectAttributeValues:-time<4.01> 1290135759107
Production-time-grant:-time<4.0> 1290135759117
Consumption-feflectAttributeValues:-time<4.01> 1290135759157
Consumption-feflectAttributeValues:-time<4.01> 1290135759157
Consumption-feflectAttributeValues:-time<4.01> 1290135759157
Consumption-feflectAttributeValues:-time<4.01> 1290135759167
Consumption-feflectAttributeValues:-time<4.01> 1290135759167
Transport-TAR:-time<5.0> 1290135759197
Consumption-feflectAttributeValues:-time<4.01> 1290135759207
Production-NER:-time<INF> 1290135759248
Production-feflectAttributeValues:-time<4.01> 1290135759248
Production-feflectAttributeValues:-time<4.01> 1290135759248
Consumption-feflectAttributeValues:-time<4.01> 1290135759248
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Manager-TAR:-time<5.0> 1290135759548
Manager-time-grant:-time<5.0> 1290135759588
Consumption-time-grant:-time<4.01> 1290135759608
Production-time-grant:-time<4.01> 1290135759638
Production-NER:-time<INF> 1290135759658
Consumption-NER:-time<INF> 1290135759668
Production-feflectAttributeValues:-time<5.01> 1290135759698
Production-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Transport-time-grant:-time<5.0> 1290135759718
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Transport-TAR:-time<6.0> 1290135759838
Production-feflectAttributeValues:-time<5.01> 1290135759868
Production-feflectAttributeValues:-time<5.01> 1290135759868
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-time-grant:-time<5.01> 1290135760559
Manager-TAR:-time<6.0> 1290135760579
Production-NER:-time<5.51> 1290135760579
Manager-time-grant:-time<6.0> 1290135760600
Consumption-time-grant:-time<5.01> 1290135760600
Consumption-NER:-time<INF> 1290135760630
Production-time-grant:-time<5.51> 1290135760640
Consumption-feflectAttributeValues:-time<5.52> 1290135760720
Production-NER:-time<8.01> 1290135760780
Consumption-time-grant:-time<5.52> 1290135760800
Consumption-NER:-time<INF> 1290135760810
Transport-time-grant:-time<6.0> 1290135760850
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Transport-TAR:-time<7.0> 1290135760900
Manager-TAR:-time<7.0> 1290135761591
Production-time-grant:-time<6.01> 1290135761601
Consumption-time-grant:-time<6.01> 1290135761611
Manager-time-grant:-time<7.0> 1290135761631
Production-NER:-time<8.01> 1290135761641
Consumption-NER:-time<INF> 1290135761651
Transport-time-grant:-time<7.0> 1290135761721
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761751
Consumption-feflectAttributeValues:-time<7.01> 1290135761751
Production-feflectAttributeValues:-time<7.01> 1290135761791
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Transport-TAR:-time<8.0> 1290135761811
Manager-TAR:-time<8.0> 1290135762572
Production-time-grant:-time<7.01> 1290135762582
Production-NER:-time<8.01> 1290135762582
Consumption-time-grant:-time<7.01> 1290135762592
Manager-time-grant:-time<8.0> 1290135762622
Consumption-NER:-time<INF> 1290135762632
Transport-time-grant:-time<8.0> 1290135762652
Production-feflectAttributeValues:-time<8.01> 1290135762662
Production-feflectAttributeValues:-time<8.01> 1290135762662
Consumption-feflectAttributeValues:-time<8.01> 1290135762662
Consumption-feflectAttributeValues:-time<8.01> 1290135762662
Transport-TAR:-time<9.0> 1290135762693
Production-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762723
Consumption-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762753
Production-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Production-time-grant:-time<8.01> 1290135763594
Manager-TAR:-time<9.0> 1290135763604
Consumption-time-grant:-time<8.01> 1290135763614
Manager-time-grant:-time<9.0> 1290135763644
Consumption-NER:-time<INF> 1290135763654
Consumption-feflectAttributeValues:-time<8.02> 1290135763684
Production-NER:-time<INF> 1290135763694
Consumption-time-grant:-time<8.02> 1290135763794
Consumption-NER:-time<INF> 1290135763804
Transport-time-grant:-time<9.0> 1290135763824
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Transport-TAR:-time<10.0> 1290135763864
Manager-TAR:-time<10.0> 1290135764655
Production-time-grant:-time<9.01> 1290135764665
Consumption-time-grant:-time<9.01> 1290135764665
Production-NER:-time<INF> 1290135764685
Manager-time-grant:-time<10.0> 1290135764705
首先看一下与时间推进有关的各个联邦的参数列表
联邦成员 时间推进方式 步长 lookahead
Manager TAR 1.0 0.01
Productioon NER 0.01
Transport TAR 1.0 0.01
Consumption NER 0.01
Viewer TAR 1.0 0.1
其中,Viewer不是时间调节的,其时间推进被忽略。则Manager和Transport都为TAR方式,而Production和Consumption都为NER方式。Manager以墙钟时间推进,因此在发出TAR请求之前,考虑了slppeTime,以确保其在整数秒发出TAR请求。
注意,对于TAR方式的时间推进,RTI会如下处理:
•The federate invokes this service to request its logical time to be advanced to T
–All RO messages in the RTI’s internal queues, and all TSO messages with time stamps £ T, are delivered to the federate after TAR(T) has been invoked
–If no other TSO messages with time stamps £ T are forthcoming (or will be generated by another federate later), the RTI calls the federate’s Time Advance Grant procedure with parameter T to indicate that the federate’s logical time has been advanced to T
注意,对于NER方式的时间推进,RTI会如下处理:
•After
the federate F invokes NER(T):
–The
RTI delivers all RO messages in its internal queue
–If
no present or future TSO message has a time stamp <= T,
the RTI invokes the federate’s Time
Advance Grant
procedure
indicating that the federate’s logical time has been
advanced to T
–Otherwise,
the RTI will deliver the next smallest TSO message
destined for F (with time stamp T´<= T)
and all other
messages with time stamp T´;
then the RTI calls Time
Advance Grant
procedure with parameter T´,
and
the logical time of F is advanced to T´
Production-NER:-time<1.5> 1290135754501
manager-TAR:-time<0.0> 1290135754511
Transport-TAR:-time<1.0> 1290135754531
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Production-feflectAttributeValues:-time<0.01> 1290135754541
Consumption-NER:-time<INF> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Consumption-feflectAttributeValues:-time<0.01> 1290135754601
Manager-TAR:-time<1.0> 1290135755612
Consumption-time-grant:-time<0.01> 1290135755652
//注释I: 此时,Manager TAR 1.0,Transport TAR 1.0,Consumption NER INF,Production NER 1.5. 依据前面的NER方式RTI的处理方式,RTI收到Consumption的NER INF请求时,用callback方式把应该发给Consumption并且带有时间戳小于1.5的最小时间戳T’(注意,这些事件的时间戳要一样,都是最小的时间戳)事件都发给Consumption。并且之后发送time grant to T'给Consumption
Manager-time-grant:-time<1.0> 1290135755682
//注释II:此时,Manager TAR 1.0,Transport TAR 1.0, Consumption time grant 0.01,Production NER 1.5,
//注意到Consumption此时的输出时间为1.01,而Production的输出时间也为1.01.
//而manager的TAR为1.0,因此time grant to 1.0
//虽然此时Consumption time grant to 0.01,但RTI应该能知道这个0.01是因为接收到具有0.01 timestamp的事件而由RTI发出的。
//并且RTI也应该能知道之前Consumption发出的NER INF
Production-time-grant:-time<0.01> 1290135755692
//跟上面对Consumption的解释道理一样。
Consumption-NER:-time<INF> 1290135755733
Production-NER:-time<1.5> 1290135755773
Transport-time-grant:-time<1.0> 1290135755903
//此时,跟上面对manager的解释道理一样。
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755933
Production-feflectAttributeValues:-time<1.01> 1290135755943
Production-feflectAttributeValues:-time<1.01> 1290135755943
Production-feflectAttributeValues:-time<1.01> 1290135755943
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756013
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Consumption-feflectAttributeValues:-time<1.01> 1290135756023
Transport-TAR:-time<2.0> 1290135756033
Production-feflectAttributeValues:-time<1.01> 1290135756043
Manager-TAR:-time<2.0> 1290135756794
Production-time-grant:-time<1.01> 1290135756814
//参照注释I
Manager-time-grant:-time<2.0> 1290135756824
//参照注释II 此时Manager TAR 2.0, Production time grant 1.01, Transport TAR 2.0, Consumption NER INF
//考虑到manager并没有订阅Production发布的任何对象属性,只订阅了SimulationEnds交互(Consumption发布)。因此,此时
//Manager可以不考虑Transport和Consumption的输出时间。
Consumption-time-grant:-time<1.01> 1290135756824
//参照注释I
Production-NER:-time<1.5> 1290135756834
Consumption-NER:-time<INF> 1290135756894
Production-time-grant:-time<1.5> 1290135756904
//没有发给Production的消息,但是Manager time grant 2.0, Production NER 1.5, Transport TAR 2.0,Consumption NER INF
//no present message, 也无future message time < 1.5
Consumption-feflectAttributeValues:-time<1.51> 1290135756994
Production-NER:-time<3.1> 1290135757094
Consumption-feflectAttributeValues:-time<1.51> 1290135757094
Consumption-time-grant:-time<1.51> 1290135757114
//参照注释I
Consumption-NER:-time<INF> 1290135757145
Transport-time-grant:-time<2.0> 1290135757195
//此时,Manager time grant 2.0,Production NER 3.1, Transport TAR 2.0, Consumption NER INF
Consumption-feflectAttributeValues:-time<2.01> 1290135757205
Consumption-feflectAttributeValues:-time<2.01> 1290135757215
Transport-TAR:-time<3.0> 1290135757235
Production-feflectAttributeValues:-time<2.01> 1290135757245
Production-feflectAttributeValues:-time<2.01> 1290135757245
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Consumption-feflectAttributeValues:-time<2.01> 1290135757265
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Production-feflectAttributeValues:-time<2.01> 1290135757275
Consumption-feflectAttributeValues:-time<2.01> 1290135757275
Consumption-feflectAttributeValues:-time<2.01> 1290135757275
Manager-TAR:-time<3.0> 1290135757585
Production-time-grant:-time<2.01> 1290135757595
/参照注释I
Consumption-time-grant:-time<2.01> 1290135757615
//参照注释I
Manager-time-grant:-time<3.0> 1290135757645
//此时,Manager TAR 3.0, Production time grant to 2.01, Transport TAR 3.0, Consumption time grant to 2.01
//需要注意到此时,Production 当前是time grant to 2.01,但同样,这个time grant是RTI发送事件给production后发出的time grant,此前Production曾经发出NER 3.1的请求。对Consumption而言同样如此。RTI应该明白Consumption NER INF的请求更有效。
//这里的解释还需要细化。
Production-NER:-time<3.1> 1290135757655
Consumption-NER:-time<INF> 1290135757665
Transport-time-grant:-time<3.0> 1290135757725
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Production-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Consumption-feflectAttributeValues:-time<3.01> 1290135757745
Transport-TAR:-time<4.0> 1290135757805
Manager-TAR:-time<4.0> 1290135758607
Consumption-time-grant:-time<3.01> 1290135758607
Manager-time-grant:-time<4.0> 1290135758627
Production-time-grant:-time<3.01> 1290135758657
Production-NER:-time<3.1> 1290135758687
Consumption-NER:-time<INF> 1290135758717
Production-time-grant:-time<3.1> 1290135758727
Consumption-feflectAttributeValues:-time<3.11> 1290135758857
Consumption-feflectAttributeValues:-time<3.11> 1290135758867
Consumption-feflectAttributeValues:-time<3.11> 1290135758867
Production-NER:-time<4.0> 1290135758917
Consumption-time-grant:-time<3.11> 1290135758997
Consumption-NER:-time<INF> 1290135759047
Transport-time-grant:-time<4.0> 1290135759097
Consumption-feflectAttributeValues:-time<4.01> 1290135759097
Consumption-feflectAttributeValues:-time<4.01> 1290135759107
Production-time-grant:-time<4.0> 1290135759117
Consumption-feflectAttributeValues:-time<4.01> 1290135759157
Consumption-feflectAttributeValues:-time<4.01> 1290135759157
Consumption-feflectAttributeValues:-time<4.01> 1290135759157
Consumption-feflectAttributeValues:-time<4.01> 1290135759167
Consumption-feflectAttributeValues:-time<4.01> 1290135759167
Transport-TAR:-time<5.0> 1290135759197
Consumption-feflectAttributeValues:-time<4.01> 1290135759207
Production-NER:-time<INF> 1290135759248
Production-feflectAttributeValues:-time<4.01> 1290135759248
Production-feflectAttributeValues:-time<4.01> 1290135759248
Consumption-feflectAttributeValues:-time<4.01> 1290135759248
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Production-feflectAttributeValues:-time<4.01> 1290135759258
Manager-TAR:-time<5.0> 1290135759548
Manager-time-grant:-time<5.0> 1290135759588
Consumption-time-grant:-time<4.01> 1290135759608
Production-time-grant:-time<4.01> 1290135759638
Production-NER:-time<INF> 1290135759658
Consumption-NER:-time<INF> 1290135759668
Production-feflectAttributeValues:-time<5.01> 1290135759698
Production-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Consumption-feflectAttributeValues:-time<5.01> 1290135759698
Transport-time-grant:-time<5.0> 1290135759718
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Consumption-feflectAttributeValues:-time<5.01> 1290135759748
Transport-TAR:-time<6.0> 1290135759838
Production-feflectAttributeValues:-time<5.01> 1290135759868
Production-feflectAttributeValues:-time<5.01> 1290135759868
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-feflectAttributeValues:-time<5.01> 1290135759898
Production-time-grant:-time<5.01> 1290135760559
Manager-TAR:-time<6.0> 1290135760579
Production-NER:-time<5.51> 1290135760579
Manager-time-grant:-time<6.0> 1290135760600
Consumption-time-grant:-time<5.01> 1290135760600
Consumption-NER:-time<INF> 1290135760630
Production-time-grant:-time<5.51> 1290135760640
Consumption-feflectAttributeValues:-time<5.52> 1290135760720
Production-NER:-time<8.01> 1290135760780
Consumption-time-grant:-time<5.52> 1290135760800
Consumption-NER:-time<INF> 1290135760810
Transport-time-grant:-time<6.0> 1290135760850
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Production-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Consumption-feflectAttributeValues:-time<6.01> 1290135760880
Transport-TAR:-time<7.0> 1290135760900
Manager-TAR:-time<7.0> 1290135761591
Production-time-grant:-time<6.01> 1290135761601
Consumption-time-grant:-time<6.01> 1290135761611
Manager-time-grant:-time<7.0> 1290135761631
Production-NER:-time<8.01> 1290135761641
Consumption-NER:-time<INF> 1290135761651
Transport-time-grant:-time<7.0> 1290135761721
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761741
Consumption-feflectAttributeValues:-time<7.01> 1290135761751
Consumption-feflectAttributeValues:-time<7.01> 1290135761751
Production-feflectAttributeValues:-time<7.01> 1290135761791
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Production-feflectAttributeValues:-time<7.01> 1290135761801
Transport-TAR:-time<8.0> 1290135761811
Manager-TAR:-time<8.0> 1290135762572
Production-time-grant:-time<7.01> 1290135762582
Production-NER:-time<8.01> 1290135762582
Consumption-time-grant:-time<7.01> 1290135762592
Manager-time-grant:-time<8.0> 1290135762622
Consumption-NER:-time<INF> 1290135762632
Transport-time-grant:-time<8.0> 1290135762652
Production-feflectAttributeValues:-time<8.01> 1290135762662
Production-feflectAttributeValues:-time<8.01> 1290135762662
Consumption-feflectAttributeValues:-time<8.01> 1290135762662
Consumption-feflectAttributeValues:-time<8.01> 1290135762662
Transport-TAR:-time<9.0> 1290135762693
Production-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762723
Consumption-feflectAttributeValues:-time<8.01> 1290135762723
Production-feflectAttributeValues:-time<8.01> 1290135762753
Production-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Consumption-feflectAttributeValues:-time<8.01> 1290135762753
Production-time-grant:-time<8.01> 1290135763594
Manager-TAR:-time<9.0> 1290135763604
Consumption-time-grant:-time<8.01> 1290135763614
Manager-time-grant:-time<9.0> 1290135763644
Consumption-NER:-time<INF> 1290135763654
Consumption-feflectAttributeValues:-time<8.02> 1290135763684
Production-NER:-time<INF> 1290135763694
Consumption-time-grant:-time<8.02> 1290135763794
Consumption-NER:-time<INF> 1290135763804
Transport-time-grant:-time<9.0> 1290135763824
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Consumption-feflectAttributeValues:-time<9.01> 1290135763844
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Production-feflectAttributeValues:-time<9.01> 1290135763854
Transport-TAR:-time<10.0> 1290135763864
Manager-TAR:-time<10.0> 1290135764655
Production-time-grant:-time<9.01> 1290135764665
Consumption-time-grant:-time<9.01> 1290135764665
Production-NER:-time<INF> 1290135764685
Manager-time-grant:-time<10.0> 1290135764705
相关文章推荐
- 餐馆联邦一次运行的时间推进序列 (按时间排序的时间推进请求和time grant序列) 续
- 改进合并排序法以查找元素序列中的逆序对数量,最坏运行时间O( nlog2(n) )
- 计算运行时间工具timeit
- 记录程序运行的时间,使用<time.h>头文件
- java测试方法运行时间 System.currentTimeMillis();
- 最坏情况快速排序的运行时间为Ο(nlgn)的算法
- 编程珠玑之第一章习题3:度量100w整数排序的运行时间
- R-Sys.time计算程序运行时间
- 排序算法之基数排序,随机数的产生和程序运行时间的计算
- 关于ajax的时间戳,ajax的同样参数请求只处理一次的时间间隔
- 运行Retrieve time from OTL(RCVOTLR) 请求时,出现错误RCV_OTL_GNRET_PROCESS_RUNNING
- 如何设置一定时间内只能发送一次请求
- 计算运行时间工具timeit
- jmeter运行时间越久发送请求越来越少
- C语言:获取程序运行消耗的时间——gettimeofday
- 算法导论6.4-5堆排序最佳运行时间
- .net动态显示服务器上面的时间(只向服务器发送一次请求)
- 增加测试函数计算排序函数运行时间
- 1)实际时间(real time): 从command命令行开始执行到运行终止的消逝时间; 2)用户CPU时间(user CPU time): 命令执行完成花费的用户CPU时间,即命令在用户态中执行时间总和; 3)系统CPU时间(system CPU time): 命令执行完成花费的系统CPU时
- MYSQL execution time comparison(MYSQL 运行时间比较)-subselect vs select from 2 table