As we are heavy user of int to string and double to string in the EFL, provide a fast and portable one.

SVN revision: 35604
This commit is contained in:
Cedric BAIL 2008-08-21 14:20:41 +00:00
parent 995ca492e9
commit 4bc094c45a
17 changed files with 2105 additions and 2 deletions

View File

@ -0,0 +1,15 @@
set autoscale # scale axes automatically
unset log # remove any log-scaling
unset label # remove any previous labels
set xtic auto # set xtics automatically
set ytic auto # set ytics automatically
#set logscale y
set terminal png size 1024,768
set output "output_Convert_2008-08-21_16:09:46.png"
set title "Convert 2008-08-21_16:09:46
set xlabel "tests"
set ylabel "time"
plot "bench_Convert_2008-08-21_16:09:46.itoa 10.data" using 1:2 title 'itoa 10' with line, \
"bench_Convert_2008-08-21_16:09:46.itoa 16.data" using 1:2 title 'itoa 16' with line, \
"bench_Convert_2008-08-21_16:09:46.snprintf 10.data" using 1:2 title 'snprintf 10' with line, \
"bench_Convert_2008-08-21_16:09:46.snprintf 16.data" using 1:2 title 'snprintf 16' with line

View File

@ -0,0 +1,399 @@
# specimen experiment time starting time ending time
1000 88383 7352444 7440827
1500 114153 7451843 7565996
2000 149757 7573733 7723490
2500 185493 7730769 7916262
3000 221349 7923509 8144858
3500 256977 8151984 8408961
4000 292978 8416051 8709029
4500 328910 8716189 9045099
5000 364746 9052171 9416917
5500 400124 9424420 9824544
6000 436573 9831911 10268484
6500 472224 10275248 10747472
7000 508137 10754242 11262379
7500 543973 11269478 11813451
8000 582114 11820594 12402708
8500 615497 12409652 13025149
9000 651506 13032162 13683668
9500 687252 13690769 14378021
10000 725320 14384791 15110111
10500 758816 15117486 15876302
11000 794515 15883606 16678121
11500 830190 16685426 17515616
12000 887539 17523199 18410738
12500 901924 18418345 19320269
13000 937624 19327831 20265455
13500 975695 20272653 21248348
14000 1009528 21255654 22265182
14500 1045416 22272648 23318064
15000 1082757 23325238 24407995
15500 1122870 24415129 25537999
16000 1153115 25545701 26698816
16500 1190830 26705984 27896814
17000 1224500 27904510 29129010
17500 1262165 29136281 30398446
18000 1296394 30405653 31702047
18500 1333639 31709590 33043229
19000 1367791 33050573 34418364
19500 1404040 34425197 35829237
20000 1441056 35836281 37277337
20500 1475740 37284468 38760208
21000 1512958 38767305 40280263
21500 1547296 40287367 41834663
22000 1584420 41842058 43426478
22500 1628650 43447335 45075985
23000 1662612 45092031 46754643
23500 1694215 46769082 48463297
24000 1727294 48471253 50198547
24500 1764323 50205941 51970264
25000 1798833 51977570 53776403
25500 1838984 53783526 55622510
26000 1870473 55630759 57501232
26500 1905707 57510638 59416345
27000 1946425 59423768 61370193
27500 1978204 61377705 63355909
28000 2015595 63363131 65378726
28500 2051393 65385554 67436947
29000 2086098 67444155 69530253
29500 2123260 69537290 71660550
30000 2159370 71667715 73827085
30500 2193220 73834384 76027604
31000 2231153 76034804 78265957
31500 2267270 78273291 80540561
32000 2301456 80547871 82849327
32500 2361719 82873889 85235608
33000 2377649 85253174 87630823
33500 2410941 87639785 90050726
34000 2444885 90058518 92503403
34500 2482074 92510541 94992615
35000 2518473 95000066 97518539
35500 2554081 97525934 100080015
36000 2589644 100087137 102676781
36500 2624116 102683934 105308050
37000 2660832 105315448 107976280
37500 2696906 107983675 110680581
38000 2732914 110687676 113420590
38500 2768581 113427912 116196493
39000 2807443 116203649 119011092
39500 2841706 119018874 121860580
40000 2874416 121868266 124742682
40500 2934735 124764036 127698771
41000 2955842 127716419 130672261
41500 2989110 130681436 133670546
42000 3019651 133678634 136698285
42500 3052977 136706014 139758991
43000 3089366 139766262 142855628
43500 3124899 142862810 145987709
44000 3160830 145995156 149155986
44500 3196661 149163385 152360046
45000 3232800 152367343 155600143
45500 3268458 155607445 158875903
46000 3304132 158883505 162187637
46500 3340230 162194895 165535125
47000 3403239 165542385 168945624
47500 3414305 168968748 172383053
48000 3448076 172391916 175839992
48500 3486368 175847603 179333971
49000 3518577 179341307 182859884
49500 3554706 182867554 186422260
50000 3590736 186429477 190020213
50500 3626396 190027669 193654065
51000 3662394 193661323 197323717
51500 3698949 197331440 201030389
52000 3734414 201037802 204772216
52500 3771898 204779144 208551042
53000 3825367 208573737 212399104
53500 3842685 212416470 216259155
54000 3878355 216268249 220146604
54500 3913870 220154399 224068269
55000 3948955 224075826 228024781
55500 3986064 228032095 232018159
56000 4021247 232025090 236046337
56500 4056996 236053674 240110670
57000 4092656 240117486 244210142
57500 4129137 244217474 248346611
58000 4166204 248353721 252519925
58500 4229135 252542223 256771358
59000 4238172 256789310 261027482
59500 4272007 261036121 265308128
60000 4306946 265315500 269622446
60500 4343621 269629241 273972862
61000 4379371 273979978 278359349
61500 4415048 278367099 282782147
62000 4451166 282789349 287240515
62500 4487734 287247788 291735522
63000 4522884 291742749 296265633
63500 4590425 296286289 300876714
64000 4596107 300894095 305490202
64500 4630801 305498361 310129162
65000 4666455 310136426 314802881
65500 4703852 314809612 319513464
66000 4737682 319520375 324258057
66500 4775025 324265379 329040404
67000 4816832 329047583 333864415
67500 4849176 333871385 338720561
68000 4909028 338728948 343637976
68500 4920393 343660435 348580828
69000 4959910 348589438 353549348
69500 4989314 353556745 358546059
70000 5025682 358552890 363578572
70500 5060943 363585454 368646397
71000 5097808 368653368 373751176
71500 5133122 373758302 378891424
72000 5168038 378898414 384066452
72500 5230734 384086722 389317456
73000 5243196 389335133 394578329
73500 5276125 394586714 399862839
74000 5312782 399870077 405182859
74500 5348656 405190263 410538919
75000 5383824 410546356 415930180
75500 5423444 415937384 421360828
76000 5456662 421367774 426824436
76500 5521858 426831630 432353488
77000 5531340 432376585 437907925
77500 5563875 437916085 443479960
78000 5600033 443487181 449087214
78500 5636111 449094225 454730336
79000 5672074 454736883 460408957
79500 5707198 460416189 466123387
80000 5743961 466130348 471874309
80500 5805556 471894910 477700466
81000 5817220 477717784 483535004
81500 5852235 483543778 489396013
82000 5887292 489403341 495290633
82500 5923466 495297583 501221049
83000 5958388 501228217 507186605
83500 5995042 507194114 513189156
84000 6059061 513196327 519255388
84500 6068664 519277761 525346425
85000 6101500 525354898 531456398
85500 6138986 531463783 537602769
86000 6174843 537610023 543784866
86500 6210516 543791738 550002254
87000 6246202 550009745 556255947
87500 6302946 556262835 562565781
88000 6324273 562588625 568912898
88500 6354358 568921306 575275664
89000 6388969 575283112 581672081
89500 6425488 581679345 588104833
90000 6461097 588112177 594573274
90500 6497161 594580779 601077940
91000 6570085 601085387 607655472
91500 6572564 607678289 614250853
92000 6604919 614259525 620864444
92500 6649549 620871652 627521201
93000 6676317 627529265 634205582
93500 6712100 634212550 640924650
94000 6750206 640931241 647681447
94500 6816888 647703876 654520764
95000 6823915 654538521 661362436
95500 6856396 661370936 668227332
96000 6892237 668234994 675127231
96500 6928111 675134624 682062735
97000 6964134 682069855 689033989
97500 7001368 689041140 696042508
98000 7064927 696064327 703129254
98500 7072676 703146842 710219518
99000 7108589 710228191 717336780
99500 7147827 717344144 724491971
100000 7180052 724499156 731679208
100500 7214814 731686442 738901256
101000 7278235 738908618 746186853
101500 7289223 746209494 753498717
102000 7323237 753507423 760830660
102500 7358555 760838059 768196614
103000 7395442 768203480 775598922
103500 7429764 775606144 783035908
104000 7496164 783043432 790539596
104500 7503556 790561692 798065248
105000 7538189 798073635 805611824
105500 7576477 805619504 813195981
106000 7609024 813203992 820813016
106500 7644815 820820402 828465217
107000 7712243 828472642 836184885
107500 7718991 836207714 843926705
108000 7752143 843935103 851687246
108500 7788515 851694554 859483069
109000 7826959 859490221 867317180
109500 7859969 867324517 875184486
110000 7933219 875191639 883124858
110500 7933561 883147577 891081138
111000 7968841 891089557 899058398
111500 8006585 899065870 907072455
112000 8041931 907079576 915121507
112500 8074791 915129221 923204012
113000 8143562 923223512 931367074
113500 8150262 931384334 939534596
114000 8182134 939543509 947725643
114500 8220797 947733327 955954124
115000 8254483 955961989 964216472
115500 8310052 964224135 972534187
116000 8334945 972556992 980891937
116500 8361780 980900364 989262144
117000 8398342 989269758 997668100
117500 8434108 997675209 1006109317
118000 8505769 1006116516 1014622285
118500 8509975 1014644856 1023154831
119000 8543391 1023163307 1031706698
119500 8576833 1031714839 1040291672
120000 8613172 1040299484 1048912656
120500 8667594 1048920449 1057588043
121000 8695309 1057610499 1066305808
121500 8723181 1066314809 1075037990
122000 8756031 1075045829 1083801860
122500 8794863 1083809255 1092604118
123000 8857891 1092611874 1101469765
123500 8868516 1101492789 1110361305
124000 8902054 1110369831 1119271885
124500 8935825 1119279726 1128215551
125000 8972629 1128222928 1137195557
125500 9038227 1137203019 1146241246
126000 9048993 1146263979 1155312972
126500 9082224 1155321385 1164403609
127000 9116862 1164411435 1173528297
127500 9150734 1173535829 1182686563
128000 9220924 1182693775 1191914699
128500 9227290 1191936979 1201164269
129000 9258171 1201172491 1210430662
129500 9294685 1210438231 1219732916
130000 9332646 1219740131 1229072777
130500 9399669 1229080079 1238479748
131000 9404412 1238502919 1247907331
131500 9438661 1247916049 1257354710
132000 9476342 1257362202 1266838544
132500 9511889 1266846325 1276358214
133000 9583439 1276365613 1285949052
133500 9584406 1285971472 1295555878
134000 9617674 1295564138 1305181812
134500 9655195 1305189446 1314844641
135000 9691034 1314852498 1324543532
135500 9765377 1324550806 1334316183
136000 9764946 1334338703 1344103649
136500 9798592 1344112260 1353910852
137000 9834074 1353918792 1363752866
137500 9869552 1363760304 1373629856
138000 9941561 1373652211 1383593772
138500 9946768 1383611728 1393558496
139000 9977354 1393567425 1403544779
139500 10012865 1403552750 1413565615
140000 10050102 1413572941 1423623043
140500 10118704 1423645947 1433764651
141000 10122739 1433782361 1443905100
141500 10156663 1443913843 1454070506
142000 10192595 1454078570 1464271165
142500 10228394 1464278829 1474507223
143000 10298444 1474528736 1484827180
143500 10309379 1484844500 1495153879
144000 10335871 1495162769 1505498640
144500 10371629 1505506582 1515878211
145000 10420063 1515885912 1526305975
145500 10480095 1526326293 1536806388
146000 10478833 1536820278 1547299111
146500 10530518 1547306805 1557837323
147000 10557678 1557860112 1568417790
147500 10604946 1568426699 1579031645
148000 10629548 1579054445 1589683993
148500 10675415 1589692575 1600367990
149000 10700881 1600390655 1611091536
149500 10745961 1611100278 1621846239
150000 10773095 1621868512 1632641607
150500 10817494 1632650388 1643467882
151000 10856175 1643490264 1654346439
151500 10887753 1654366717 1665254470
152000 10927864 1665268356 1676196220
152500 10966572 1676218825 1687185397
153000 10995966 1687206227 1698202193
153500 11038626 1698215718 1709254344
154000 11075479 1709277043 1720352522
154500 11108253 1720375313 1731483566
155000 11138752 1731504429 1742643181
155500 11178151 1742657094 1753835245
156000 11219959 1753857959 1765077918
156500 11257105 1765100369 1776357474
157000 11290570 1776379873 1787670443
157500 11328654 1787692653 1799021307
158000 11364545 1799043912 1810408457
158500 11397079 1810431285 1821828364
159000 11431847 1821857092 1833288939
159500 11474545 1833311409 1844785954
160000 11516496 1844809433 1856325929
160500 11545422 1856349299 1867894721
161000 11580605 1867918139 1879498744
161500 11616593 1879521230 1891137823
162000 11650934 1891161070 1902812004
162500 11686797 1902834268 1914521065
163000 11722939 1914544470 1926267409
163500 11758772 1926290048 1938048820
164000 11775856 1938077622 1949853478
164500 11824224 1949862370 1961686594
165000 11867785 1961708999 1973576784
165500 11900307 1973598928 1985499235
166000 11939790 1985521107 1997460897
166500 11951559 1997483599 2009435158
167000 12003729 2009443837 2021447566
167500 12053643 2021470394 2033524037
168000 12059053 2033547359 2045606412
168500 12112434 2045615322 2057727756
169000 12169477 2057750196 2069919673
169500 12173636 2069942957 2082116593
170000 12228869 2082125489 2094354358
170500 12239130 2094377161 2106616291
171000 12297189 2106624937 2118922126
171500 12311257 2118944961 2131256218
172000 12369457 2131264340 2143633797
172500 12381511 2143656973 2156038484
173000 12441232 2156047245 2168488477
173500 12453528 2168511308 2180964836
174000 12514966 2180973203 2193488169
174500 12538364 2193511341 2206049705
175000 12592725 2206070984 2218663709
175500 12628022 2218686519 2231314541
176000 12645946 2231337324 2243983270
176500 12700638 2244004480 2256705118
177000 12730994 2256734900 2269465894
177500 12760217 2269488272 2282248489
178000 12807024 2282271574 2295078598
178500 12827507 2295101225 2307928732
179000 12882777 2307949025 2320831802
179500 12911615 2320855117 2333766732
180000 12938638 2333789653 2346728291
180500 12987292 2346749969 2359737261
181000 13010198 2359760303 2372770501
181500 13058381 2372793127 2385851508
182000 13082785 2385874144 2398956929
182500 13129112 2398979863 2412108975
183000 13153427 2412132073 2425285500
183500 13202604 2425308289 2438510893
184000 13225339 2438533705 2451759044
184500 13275773 2451781751 2465057524
185000 13298530 2465079905 2478378435
185500 13348890 2478400598 2491749488
186000 13377150 2491772766 2505149916
186500 13403675 2505172602 2518576277
187000 13454251 2518599386 2532053637
187500 13479441 2532076457 2545555898
188000 13526464 2545579041 2559105505
188500 13557323 2559128361 2572685684
189000 13583358 2572708374 2586291732
189500 13634880 2586314774 2599949654
190000 13666437 2599972711 2613639148
190500 13691905 2613662070 2627353975
191000 13740952 2627376241 2641117193
191500 13771108 2641139873 2654910981
192000 13800520 2654934116 2668734636
192500 13850316 2668756974 2682607290
193000 13881580 2682629454 2696511034
193500 13915514 2696533669 2710449183
194000 13942368 2710472274 2724414642
194500 13992936 2724437454 2738430390
195000 14033816 2738452889 2752486705
195500 14062529 2752509578 2766572107
196000 14087114 2766595242 2780682356
196500 14138175 2780704781 2794842956
197000 14167509 2794865633 2809033142
197500 14205079 2809056297 2823261376
198000 14241715 2823284066 2837525781
198500 14273612 2837548803 2851822415
199000 14302049 2851844956 2866147005
199500 14355512 2866169597 2880525109

View File

@ -0,0 +1,399 @@
# specimen experiment time starting time ending time
1000 43390 2880973357 2881016747
1500 62268 2881026392 2881088660
2000 80956 2881096369 2881177325
2500 99829 2881184396 2881284225
3000 118946 2881291279 2881410225
3500 137714 2881417122 2881554836
4000 156647 2881561784 2881718431
4500 175640 2881725301 2881900941
5000 194480 2881908231 2882102711
5500 213394 2882109885 2882323279
6000 232197 2882330186 2882562383
6500 251223 2882569306 2882820529
7000 272232 2882827503 2883099735
7500 289055 2883106975 2883396030
8000 307825 2883403103 2883710928
8500 326845 2883718330 2884045175
9000 345835 2884051999 2884397834
9500 364701 2884404937 2884769638
10000 383623 2884777026 2885160649
10500 405462 2885167842 2885573304
11000 421470 2885580803 2886002273
11500 440248 2886009303 2886449551
12000 459307 2886456649 2886915956
12500 478020 2886922832 2887400852
13000 497050 2887407945 2887904995
13500 517458 2887912101 2888429559
14000 534713 2888436932 2888971645
14500 553678 2888978442 2889532120
15000 572760 2889539070 2890111830
15500 591649 2890118776 2890710425
16000 611889 2890717496 2891329385
16500 629497 2891336602 2891966099
17000 648484 2891973072 2892621556
17500 667220 2892628774 2893295994
18000 687684 2893303145 2893990829
18500 705100 2893997701 2894702801
19000 723966 2894709858 2895433824
19500 743003 2895440653 2896183656
20000 763457 2896190546 2896954003
20500 780724 2896961188 2897741912
21000 799474 2897748913 2898548387
21500 818399 2898555376 2899373775
22000 838714 2899380643 2900219357
22500 856211 2900226808 2901083019
23000 875165 2901090033 2901965198
23500 895446 2901972284 2902867730
24000 913088 2902874669 2903787757
24500 931702 2903794887 2904726589
25000 951912 2904733606 2905685518
25500 969604 2905692607 2906662211
26000 988646 2906669205 2907657851
26500 1009561 2907665002 2908674563
27000 1026418 2908681640 2909708058
27500 1045241 2909714736 2910759977
28000 1065297 2910766947 2911832244
28500 1082969 2911839108 2912922077
29000 1101950 2912928696 2914030646
29500 1122321 2914037695 2915160016
30000 1038963 2915181119 2916220082
30500 1159114 2916238101 2917397215
31000 1178104 2917406154 2918584258
31500 1198790 2918591632 2919790422
32000 1215320 2919797414 2921012734
32500 1236749 2921019682 2922256431
33000 1253135 2922263700 2923516835
33500 1272147 2923524309 2924796456
34000 1291040 2924803539 2926094579
34500 1309798 2926101574 2927411372
35000 1330402 2927418690 2928749092
35500 1347791 2928756070 2930103861
36000 1368161 2930110733 2931478894
36500 1385631 2931485956 2932871587
37000 1406450 2932878550 2934285000
37500 1423406 2934292294 2935715700
38000 1443813 2935723143 2937166956
38500 1461126 2937174079 2938635205
39000 1480133 2938642167 2940122300
39500 1498581 2940129020 2941627601
40000 1517711 2941634717 2943152428
40500 1536710 2943159418 2944696128
41000 1555684 2944703704 2946259388
41500 1574099 2946266518 2947840617
42000 1593215 2947847559 2949440774
42500 1612005 2949448207 2951060212
43000 1634745 2951067200 2952701945
43500 1649925 2952709457 2954359382
44000 1506348 2954379447 2955885795
44500 1694156 2955903302 2957597458
45000 1707093 2957606352 2959313445
45500 1727538 2959320724 2961048262
46000 1744804 2961055557 2962800361
46500 1764860 2962807429 2964572289
47000 1782446 2964579503 2966361949
47500 1801029 2966369004 2968170033
48000 1821940 2968177090 2969999030
48500 1839241 2970006290 2971845531
49000 1859352 2971852828 2973712180
49500 1877105 2973719350 2975596455
50000 1897219 2975603686 2977500905
50500 1916403 2977508025 2979424428
51000 1933869 2979431821 2981365690
51500 1953931 2981372756 2983326687
52000 1972878 2983333838 2985306716
52500 1990557 2985313928 2987304485
53000 2011101 2987311260 2989322361
53500 2028503 2989329441 2991357944
54000 2051412 2991364682 2993416094
54500 1863783 2993435541 2995299324
55000 2090788 2995317462 2997408250
55500 2105478 2997416665 2999522143
56000 2123072 2999529579 3001652651
56500 2143221 3001659978 3003803199
57000 2162545 3003810256 3005972801
57500 2179610 3005980046 3008159656
58000 2200180 3008166722 3010366902
58500 2218612 3010373881 3012592493
59000 2236355 3012599416 3014835771
59500 2256651 3014842916 3017099567
60000 2276096 3017106868 3019382964
60500 2294403 3019389849 3021684252
61000 2311997 3021691391 3024003388
61500 2332162 3024010702 3026342864
62000 2351262 3026350447 3028701709
62500 2370195 3028708831 3031079026
63000 2387617 3031086420 3033474037
63500 2166540 3033495262 3035661802
64000 2425950 3035679851 3038105801
64500 2446341 3038114126 3040560467
65000 2465388 3040568157 3043033545
65500 2483744 3043040827 3045524571
66000 2500889 3045531865 3048032754
66500 2521241 3048039954 3050561195
67000 2540302 3050568239 3053108541
67500 2559236 3053115488 3055674724
68000 2577935 3055682080 3058260015
68500 2595761 3058267528 3060863289
69000 2615857 3060870171 3063486028
69500 2634911 3063493235 3066128146
70000 2653708 3066135290 3068788998
70500 2672639 3068796011 3071468650
71000 2664556 3071476470 3074141026
71500 2724821 3074161994 3076886815
72000 2730066 3076900866 3079630932
72500 2748387 3079638798 3082387185
73000 2767306 3082394559 3085161865
73500 2784704 3085169654 3087954358
74000 2804490 3087961749 3090766239
74500 2823865 3090773496 3093597361
75000 2842735 3093604926 3096447661
75500 2861761 3096454734 3099316495
76000 2880657 3099323604 3102204261
76500 2899863 3102211670 3105111533
77000 2918347 3105118543 3108036890
77500 2937391 3108044013 3110981404
78000 2939149 3110988611 3113927760
78500 2989936 3113949472 3116939408
79000 2994771 3116953089 3119947860
79500 3013070 3119955382 3122968452
80000 3032005 3122976115 3126008120
80500 3050745 3126015277 3129066022
81000 3069976 3129073336 3132143312
81500 3089180 3132150272 3135239452
82000 3107578 3135247094 3138354672
82500 3126399 3138361802 3141488201
83000 3145323 3141495823 3144641146
83500 3164148 3144648399 3147812547
84000 3183165 3147819812 3151002977
84500 3165772 3151010130 3154175902
85000 3227754 3154199309 3157427063
85500 3240179 3157435640 3160675819
86000 3259028 3160683961 3163942989
86500 3277904 3163950359 3167228263
87000 3296952 3167235881 3170532833
87500 3315609 3170540222 3173855831
88000 3334614 3173863340 3177197954
88500 3353308 3177205339 3180558647
89000 3371979 3180566137 3183938116
89500 3391000 3183945700 3187336700
90000 3409462 3187344138 3190753600
90500 3402599 3190760884 3194163483
91000 3462013 3194184679 3197646692
91500 3467477 3197661048 3201128525
92000 3486214 3201136586 3204622800
92500 3504464 3204630297 3208134761
93000 3524143 3208141899 3211666042
93500 3542247 3211673174 3215215421
94000 3561119 3215222295 3218783414
94500 3580190 3218790718 3222370908
95000 3599109 3222378156 3225977265
95500 3620238 3225984081 3229604319
96000 3639218 3229611508 3233250726
96500 3289110 3233271717 3236560827
97000 3675807 3236578583 3240254390
97500 3693855 3240263134 3243956989
98000 3712764 3243964488 3247677252
98500 3731384 3247684265 3251415649
99000 3751048 3251422713 3255173761
99500 3769062 3255180731 3258949793
100000 3787927 3258956985 3262744912
100500 3807446 3262752010 3266559456
101000 3826266 3266566461 3270392727
101500 3844584 3270399977 3274244561
102000 3824281 3274253311 3278077592
102500 3889523 3278100500 3281990023
103000 3902930 3281998474 3285901404
103500 3920393 3285909538 3289829931
104000 3939424 3289837304 3293776728
104500 3958515 3293784251 3297742766
105000 3977752 3297749884 3301727636
105500 3995732 3301735126 3305730858
106000 4015376 3305738049 3309753425
106500 4033872 3309760543 3313794415
107000 4054850 3313802571 3317857421
107500 3666894 3317878182 3321545076
108000 4091951 3321562828 3325654779
108500 4112116 3325663095 3329775211
109000 4129455 3329782423 3333911878
109500 4147392 3333919183 3338066575
110000 4166996 3338073877 3342240873
110500 4185063 3342248254 3346433317
111000 4204093 3346440417 3350644510
111500 4223157 3350651626 3354874783
112000 4244644 3354882165 3359126809
112500 4086630 3359134253 3363220883
113000 4281904 3363243532 3367525436
113500 4299137 3367534082 3371833219
114000 4319876 3371840678 3376160554
114500 4336999 3376167847 3380504846
115000 4355430 3380512328 3384867758
115500 4375410 3384875089 3389250499
116000 4393588 3389257988 3393651576
116500 4412149 3393659060 3398071209
117000 4431932 3398078742 3402510674
117500 4004998 3402529574 3406534572
118000 4470974 3406552251 3411023225
118500 4488570 3411032372 3415520942
119000 4508262 3415528180 3420036442
119500 4526166 3420043677 3424569843
120000 4545907 3424577091 3429122998
120500 4564190 3429130054 3433694244
121000 4582795 3433701491 3438284286
121500 4602595 3438291506 3442894101
122000 4446763 3442901296 3447348059
122500 4641020 3447377276 3452018296
123000 4658976 3452027136 3456686112
123500 4678082 3456693703 3461371785
124000 4695933 3461378941 3466074874
124500 4718103 3466082013 3470800116
125000 4733891 3470807416 3475541307
125500 4753722 3475548365 3480302087
126000 4771546 3480309175 3485080721
126500 4763126 3485088043 3489851169
127000 4824120 3489874040 3494698160
127500 4829082 3494712507 3499541589
128000 4848522 3499549301 3504397823
128500 4866091 3504405135 3509271226
129000 4885873 3509278645 3514164518
129500 4903817 3514171670 3519075487
130000 4924668 3519082932 3524007600
130500 4941740 3524014874 3528956614
131000 4457190 3528977175 3533434365
131500 4981798 3533452325 3538434123
132000 4998762 3538442379 3543441141
132500 5018584 3543448424 3548467008
133000 5036583 3548474530 3553511113
133500 5055861 3553518770 3558574631
134000 5074336 3558581857 3563656193
134500 5093994 3563663940 3568757934
135000 5112069 3568765125 3573877194
135500 4614300 3573898782 3578513082
136000 5151459 3578530965 3583682424
136500 5169985 3583691584 3588861569
137000 5187722 3588869309 3594057031
137500 5207692 3594064188 3599271880
138000 5225322 3599279294 3604504616
138500 5244960 3604512170 3609757130
139000 5264309 3609764497 3615028806
139500 5040806 3615036365 3620077171
140000 5303366 3620099998 3625403364
140500 5321162 3625411690 3630732852
141000 5340068 3630740385 3636080453
141500 5358199 3636087745 3641445944
142000 5382770 3641453014 3646835784
142500 5396443 3646843191 3652239634
143000 5414945 3652247170 3657662115
143500 5305682 3657669279 3662974961
144000 5459406 3662997370 3668456776
144500 5472617 3668465086 3673937703
145000 5490362 3673945373 3679435735
145500 5509551 3679443044 3684952595
146000 5528594 3684959678 3690488272
146500 5547677 3690495258 3696042935
147000 5565930 3696050120 3701616050
147500 5438469 3701623352 3707061821
148000 5613524 3707084196 3712697720
148500 5624662 3712705910 3718330572
149000 5642723 3718337839 3723980562
149500 5661283 3723988079 3729649362
150000 5679823 3729656859 3735336682
150500 5699185 3735343974 3741043159
151000 5687342 3741050782 3746738124
151500 5754889 3746760893 3752515782
152000 5761883 3752530097 3758291980
152500 5774259 3758300165 3764074424
153000 5793508 3764082237 3769875745
153500 5812348 3769883356 3775695704
154000 5831526 3775703010 3781534536
154500 5830846 3781542216 3787373062
155000 5883744 3787393940 3793277684
155500 5891479 3793292082 3799183561
156000 5907920 3799191722 3805099642
156500 5926803 3805107271 3811034074
157000 5945586 3811041672 3816987258
157500 5964544 3816994874 3822959418
158000 5878797 3822966344 3828845141
158500 6008443 3828868106 3834876549
159000 6021624 3834885061 3840906685
159500 6040079 3840914181 3846954260
160000 6059208 3846961810 3853021018
160500 6077792 3853028429 3859106221
161000 6095937 3859113126 3865209063
161500 5845324 3865216222 3871061546
162000 6136634 3871084269 3877220903
162500 6153697 3877229165 3883382862
163000 6171951 3883390230 3889562181
163500 6191598 3889569730 3895761328
164000 6210433 3895768645 3901979078
164500 6230173 3901986344 3908216517
165000 6066960 3908223925 3914290885
165500 6268224 3914319657 3920587881
166000 6284804 3920596021 3926880825
166500 6304956 3926888533 3933193489
167000 6323600 3933200877 3939524477
167500 6342542 3939531492 3945874034
168000 6364168 3945881532 3952245700
168500 6191558 3952252868 3958444426
169000 6401366 3958467304 3964868670
169500 6418477 3964877316 3971295793
170000 6436731 3971303192 3977739923
170500 6455149 3977747231 3984202380
171000 6474942 3984209914 3990684856
171500 6494163 3990692337 3997186500
172000 6216066 3997193354 4003409420
172500 6534579 4003432164 4009966743
173000 6550723 4009975140 4016525863
173500 6570396 4016533121 4023103517
174000 6588673 4023110635 4029699308
174500 6607185 4029706227 4036313412
175000 6628284 4036320676 4042948960
175500 5969426 4042971247 4048940673
176000 6664975 4048958707 4055623682
176500 6683160 4055631994 4062315154
177000 6701803 4062323075 4069024878
177500 6720736 4069032174 4075752910
178000 6739044 4075760360 4082499404
178500 6732536 4082506639 4089239175
179000 6791417 4089259486 4096050903
179500 6797020 4096065008 4102862028
180000 6818307 4102869488 4109687795
180500 6834727 4109696777 4116531504
181000 6852850 4116539343 4123392193
181500 6830637 4123399371 4130230008
182000 6897799 4130253160 4137150959
182500 6910615 4137160109 4144070724
183000 6929827 4144078216 4151008043
183500 6947783 4151015031 4157962814
184000 6966638 4157970253 4164936891
184500 6861559 4164944153 4171805712
185000 7011596 4171828092 4178839688
185500 7024169 4178848030 4185872199
186000 7045290 4185880212 4192925502
186500 7061713 4192932739 4199994452
187000 7081088 4200001863 4207082951
187500 6836480 4207090297 4213926777
188000 7120015 4213949453 4221069468
188500 7137347 4221078006 4228215353
189000 7155963 4228222851 4235378814
189500 7174878 4235385858 4242560736
190000 7193358 4242568400 4249761758
190500 7090578 4249769326 4256859904
191000 7238545 4256881997 4264120542
191500 7250950 4264128988 4271379938
192000 7269622 4271387024 4278656646
192500 7288822 4278664253 4285953075
193000 7307562 4285960030 4293267592
193500 6922170 4293274865 4300197035
194000 7348120 4300219729 4307567849
194500 7364780 4307576174 4314940954
195000 7383173 4314948790 4322331963
195500 7401891 4322338962 4329740853
196000 7420998 4329748248 4337169246
196500 7052257 4337176705 4344228962
197000 7460779 4344251677 4351712456
197500 7478282 4351720677 4359198959
198000 7496204 4359206381 4366702585
198500 7515206 4366709594 4374224800
199000 7535255 4374231769 4381767024
199500 7110721 4381774363 4388885084

View File

@ -0,0 +1,399 @@
# specimen experiment time starting time ending time
1000 199149 4389447448 4389646597
1500 291127 4389654500 4389945627
2000 385613 4389952460 4390338073
2500 480301 4390344616 4390824917
3000 574792 4390831612 4391406404
3500 669874 4391413173 4392083047
4000 767638 4392089705 4392857343
4500 859441 4392864635 4393724076
5000 954011 4393730573 4394684584
5500 1051707 4394691081 4395742788
6000 1143457 4395749254 4396892711
6500 1237829 4396899075 4398136904
7000 1335110 4398143397 4399478507
7500 1427768 4399485073 4400912841
8000 1523691 4400918983 4402442674
8500 1617234 4402449671 4404066905
9000 1713113 4404073046 4405786159
9500 1806704 4405792715 4407599419
10000 1901018 4407605661 4409506679
10500 1997715 4409513138 4411510853
11000 2091014 4411517518 4413608532
11500 2187288 4413614646 4415801934
12000 2282170 4415808414 4418090584
12500 2376779 4418097349 4420474128
13000 2470093 4420480696 4422950789
13500 2565848 4422957362 4425523210
14000 2807484 4425529908 4428337392
14500 2756824 4428355694 4431112518
15000 2854447 4431119963 4433974410
15500 2945314 4433981271 4436926585
16000 3040117 4436933056 4439973173
16500 3135192 4439980006 4443115198
17000 3229864 4443121841 4446351705
17500 3324771 4446358290 4449683061
18000 3419259 4449689555 4453108814
18500 3517155 4453115048 4456632203
19000 3610618 4456640619 4460251237
19500 3703954 4460258519 4463962473
20000 3945387 4463969001 4467914388
20500 4310590 4467933819 4472244409
21000 3989455 4472258677 4476248132
21500 4083753 4476255368 4480339121
22000 4179339 4480345722 4484525061
22500 4273505 4484531878 4488805383
23000 4367638 4488811998 4493179636
23500 4464065 4493186428 4497650493
24000 4557445 4497657181 4502214626
24500 4652349 4502221594 4506873943
25000 4746603 4506880974 4511627577
25500 5248553 4511649936 4516898489
26000 4939658 4516912502 4521852160
26500 5031139 4521859647 4526890786
27000 5127959 4526897496 4532025455
27500 5221337 4532032195 4537253532
28000 5316808 4537260321 4542577129
28500 5411691 4542583616 4547995307
29000 5505401 4548002254 4553507655
29500 5800441 4553513928 4559314369
30000 5697992 4559332640 4565030632
30500 5790784 4565037457 4570828241
31000 5885348 4570835525 4576720873
31500 5980228 4576727532 4582707760
32000 6075396 4582714362 4588789758
32500 6170355 4588796314 4594966669
33000 6263484 4594973514 4601236998
33500 6538708 4601256957 4607795665
34000 6455499 4607809693 4614265192
34500 6548966 4614272733 4620821699
35000 6642979 4620828503 4627471482
35500 6737623 4627478313 4634215936
36000 6832802 4634222660 4641055462
36500 7236168 4641061894 4648298062
37000 7242698 4648320624 4655563322
37500 7436929 4655577149 4663014078
38000 7213912 4663023110 4670237022
38500 7310198 4670243968 4677554166
39000 7402527 4677560646 4684963173
39500 7500298 4684969841 4692470139
40000 7788653 4692476637 4700265290
40500 7690391 4700283248 4707973639
41000 7781914 4707981026 4715762940
41500 7876581 4715770155 4723646736
42000 7972603 4723652705 4731625308
42500 8066147 4731631980 4739698127
43000 8410281 4739718882 4748129163
43500 8259632 4748143263 4756402895
44000 8351563 4756410334 4764761897
44500 8446755 4764771632 4773218387
45000 8615021 4773224959 4781839980
45500 8829430 4781846516 4790675946
46000 8772775 4790694373 4799467148
46500 8826135 4799474426 4808300561
47000 8921064 4808307218 4817228282
47500 9119509 4817234541 4826354050
48000 9309660 4826361087 4835670747
48500 9391720 4835688979 4845080699
49000 9442271 4845087799 4854530070
49500 9500624 4854536956 4864037580
50000 9566361 4864044326 4873610687
50500 9778501 4873617430 4883395931
51000 9682392 4883413914 4893096306
51500 10026549 4893103595 4903130144
52000 9868461 4903137359 4913005820
52500 9965809 4913012732 4922978541
53000 10340930 4922999317 4933340247
53500 10355322 4933353947 4943709269
54000 10519634 4943716549 4954236183
54500 10342805 4954243871 4964586676
55000 10458382 4964593425 4975051807
55500 10877980 4975070672 4985948652
56000 10690826 4985959691 4996650517
56500 10727679 4996667928 5007395607
57000 10919906 5007403081 5018322987
57500 10952408 5018340671 5029293079
58000 11385144 5029311681 5040696825
58500 11478042 5040715368 5052193410
59000 11597942 5052212724 5063810666
59500 11330656 5063828709 5075159365
60000 11817380 5075177827 5086995207
60500 11581061 5087012750 5098593811
61000 11707480 5098612287 5110319767
61500 11852347 5110337958 5122190305
62000 11974368 5122208390 5134182758
62500 12147032 5134200994 5146348026
63000 12151204 5146355200 5158506404
63500 12319057 5158531139 5170850196
64000 12345737 5170857200 5183202937
64500 12531784 5183220428 5195752212
65000 12544362 5195759686 5208304048
65500 12796021 5208322322 5221118343
66000 13090151 5221134990 5234225141
66500 12988625 5234243526 5247232151
67000 13284416 5247249790 5260534206
67500 13174373 5260552293 5273726666
68000 13473022 5273742669 5287215691
68500 13437440 5287234024 5300671464
69000 13309627 5300689674 5313999301
69500 13724732 5314018063 5327742795
70000 13681237 5327761066 5341442303
70500 13592910 5341460385 5355053295
71000 14028320 5355071752 5369100072
71500 14055394 5369118195 5383173589
72000 13875970 5383191621 5397067591
72500 14309949 5397085883 5411395832
73000 14407780 5411414521 5425822301
73500 14502917 5425840734 5440343651
74000 14597244 5440361600 5454958844
74500 14692603 5454977121 5469669724
75000 14444334 5469688186 5484132520
75500 14877637 5484151004 5499028641
76000 14977087 5499046872 5514023959
76500 15072119 5514042199 5529114318
77000 15166276 5529132450 5544298726
77500 15259915 5544316498 5559576413
78000 15356347 5559594145 5574950492
78500 15101525 5574968695 5590070220
79000 15205531 5590087958 5605293489
79500 15296819 5605312009 5620608828
80000 15735396 5620626830 5636362226
80500 15833088 5636380092 5652213180
81000 15583281 5652231217 5667814498
81500 15671684 5667832549 5683504233
82000 16115278 5683522003 5699637281
82500 16212070 5699655966 5715868036
83000 15960606 5715886275 5731846881
83500 16400140 5731864766 5748264906
84000 16151089 5748282734 5764433823
84500 16585801 5764451910 5781037711
85000 16340555 5781056116 5797396671
85500 16777878 5797415105 5814192983
86000 16531587 5814211040 5830742627
86500 16972937 5830760918 5847733855
87000 17057141 5847752355 5864809496
87500 16812438 5864827405 5881639843
88000 17254876 5881657722 5898912598
88500 17347392 5898930810 5916278202
89000 17098643 5916296306 5933394949
89500 17534632 5933413221 5950947853
90000 17633500 5950966005 5968599505
90500 17728255 5968617913 5986346168
91000 17821652 5986364142 6004185794
91500 17912681 6004203812 6022116493
92000 17655828 6022134089 6039789917
92500 17761669 6039808590 6057570259
93000 17859549 6057588407 6075447956
93500 17951771 6075465893 6093417664
94000 18390928 6093435604 6111826532
94500 18115899 6111844684 6129960583
95000 18232135 6129978265 6148210400
95500 18330255 6148228170 6166558425
96000 18424186 6166576783 6185000969
96500 18508244 6185018994 6203527238
97000 18933519 6203569768 6222503287
97500 19047831 6222542343 6241590174
98000 18796799 6241608441 6260405240
98500 18870778 6260423357 6279294135
99000 19335629 6279312250 6298647879
99500 19426723 6298666225 6318092948
100000 19178114 6318110696 6337288810
100500 19618068 6337307173 6356925241
101000 19372956 6356942803 6376315759
101500 19807950 6376333817 6396141767
102000 19905996 6396159655 6416065651
102500 20004655 6416083719 6436088374
103000 19754007 6436106613 6455860620
103500 20192235 6455878731 6476070966
104000 19939765 6476088918 6496028683
104500 20386533 6496046305 6516432838
105000 20480821 6516450993 6536931814
105500 20228855 6536950026 6557178881
106000 20668779 6557196981 6577865760
106500 20755473 6577883568 6598639041
107000 20845293 6598657023 6619502316
107500 20605405 6619520874 6640126279
108000 21042398 6640144286 6661186684
108500 21134609 6661205128 6682339737
109000 21236171 6682357861 6703594032
109500 21328498 6703612218 6724940716
110000 21424790 6724958867 6746383657
110500 21522492 6746402213 6767924705
111000 21610078 6767942630 6789552708
111500 21708269 6789570853 6811279122
112000 21802877 6811297179 6833100056
112500 21897668 6833117850 6855015518
113000 21644199 6855033296 6876677495
113500 21741181 6876695976 6898437157
114000 21837374 6898455011 6920292385
114500 22277281 6920311922 6942589203
115000 22368269 6942606642 6964974911
115500 22467874 6964992614 6987460488
116000 22219721 6987478373 7009698094
116500 22660983 7009715915 7032376898
117000 22742519 7032394290 7055136809
117500 22499586 7055154940 7077654526
118000 22944008 7077671949 7100615957
118500 22692527 7100633972 7123326499
119000 23126007 7123344355 7146470362
119500 23231726 7146488549 7169720275
120000 23317943 7169738531 7193056474
120500 23071119 7193074718 7216145837
121000 23501438 7216163355 7239664793
121500 23262790 7239682811 7262945601
122000 23700879 7262963491 7286664370
122500 23449370 7286682389 7310131759
123000 23881781 7310149810 7334031591
123500 23985211 7334049280 7358034491
124000 24079955 7358053014 7382132969
124500 23826870 7382151237 7405978107
125000 24266607 7405996457 7430263064
125500 24363182 7430281132 7454644314
126000 24462878 7454662597 7479125475
126500 24549743 7479143460 7503693203
127000 24640730 7503711296 7528352026
127500 24742382 7528370190 7553112572
128000 24836846 7553130148 7577966994
128500 24929940 7577985130 7602915070
129000 25016948 7602932911 7627949859
129500 25120317 7627967660 7653087977
130000 25215190 7653106077 7678321267
130500 25306798 7678338819 7703645617
131000 25061533 7703663456 7728724989
131500 25154677 7728742852 7753897529
132000 25250746 7753917331 7779168077
132500 25682973 7779185631 7804868604
133000 25783569 7804886569 7830670138
133500 25534181 7830688532 7856222713
134000 25625257 7856240863 7881866120
134500 26061690 7881884267 7907945957
135000 26160404 7907964141 7934124545
135500 25916230 7934142683 7960058913
136000 26348224 7960076183 7986424407
136500 26102018 7986442469 8012544487
137000 26541315 8012562864 8039104179
137500 26300696 8039122445 8065423141
138000 26727838 8065441301 8092169139
138500 26484916 8092187129 8118672045
139000 26919858 8118690077 8145609935
139500 27010777 8145628234 8172639011
140000 26767616 8172656957 8199424573
140500 27206023 8199442927 8226648950
141000 27294841 8226667136 8253961977
141500 27046794 8253979692 8281026486
142000 27493060 8281043974 8308537034
142500 27584906 8308554787 8336139693
143000 27676226 8336157870 8363834096
143500 27770993 8363851847 8391622840
144000 27525530 8391641309 8419166839
144500 27614636 8419184697 8446799333
145000 27708580 8446817353 8474525933
145500 28155844 8474544035 8502699879
146000 28250672 8502717801 8530968473
146500 28339929 8530986417 8559326346
147000 28093571 8559343780 8587437351
147500 28188839 8587455175 8615644014
148000 28281342 8615662127 8643943469
148500 28375564 8643961684 8672337248
149000 28476498 8672355499 8700831997
149500 28567212 8700850122 8729417334
150000 29000830 8729435261 8758436091
150500 29103723 8758454217 8787557940
151000 28853896 8787576439 8816430335
151500 28944693 8816448718 8845393411
152000 29392626 8845411590 8874804216
152500 29490349 8874822072 8904312421
153000 29230460 8904330038 8933560498
153500 29672379 8933578475 8963250854
154000 29421959 8963269047 8992691006
154500 29857184 8992709469 9022566653
155000 29612524 9022584940 9052197464
155500 30054243 9052215355 9082269598
156000 29794953 9082287875 9112082828
156500 30240287 9112100702 9142340989
157000 29994681 9142359218 9172353899
157500 30415821 9172372020 9202787841
158000 30526300 9202806088 9233332388
158500 30477104 9233350286 9263827390
159000 30373825 9263844637 9294218462
159500 30801998 9294236481 9325038479
160000 30905460 9325056994 9355962454
160500 30652994 9355980260 9386633254
161000 30745667 9386651414 9417397081
161500 31189428 9417415393 9448604821
162000 31282643 9448623030 9479905673
162500 31373396 9479924167 9511297563
163000 31472315 9511315689 9542788004
163500 31563135 9542806326 9574369461
164000 31650913 9574387997 9606038910
164500 31758375 9606057378 9637815753
165000 31507773 9637833910 9669341683
165500 31596491 9669359793 9700956284
166000 31695978 9700974285 9732670263
166500 31792015 9732688521 9764480536
167000 31881494 9764498393 9796379887
167500 32326641 9796398356 9828724997
168000 32367159 9828743207 9861110366
168500 32384119 9861128517 9893512636
169000 32604081 9893531636 9926135717
169500 32696039 9926153977 9958850016
170000 32446118 9958867674 9991313792
170500 32885109 9991331671 10024216780
171000 32639636 10024234583 10056874219
171500 32738199 10056891990 10089630189
172000 33179486 10089648521 10122828007
172500 32924869 10122845969 10155770838
173000 33369990 10155789111 10189159101
173500 33120771 10189177257 10222298028
174000 33555773 10222318029 10255873802
174500 33651394 10255892099 10289543493
175000 33403206 10289561875 10322965081
175500 33837094 10322983168 10356820262
176000 33940069 10356838501 10390778570
176500 33681593 10390796765 10424478358
177000 34121121 10424496470 10458617591
177500 34220755 10458635613 10492856368
178000 34311255 10492874747 10527186002
178500 34406728 10527204007 10561610735
179000 34158637 10561629203 10595787840
179500 34250900 10595805445 10630056345
180000 34347521 10630074631 10664422152
180500 34789722 10664440107 10699229829
181000 34876191 10699247542 10734123733
181500 34983374 10734142436 10769125810
182000 34729484 10769143870 10803873354
182500 34816652 10803891189 10838707841
183000 34920944 10838725996 10873646940
183500 34981740 10873664808 10908646548
184000 35095704 10908664838 10943760542
184500 35201493 10943778564 10978980057
185000 35282951 10978997850 11014280801
185500 35735413 11014299032 11050034445
186000 35830175 11050052949 11085883124
186500 35579145 11085901258 11121480403
187000 36021531 11121498649 11157520180
187500 36120944 11157538237 11193659181
188000 35861266 11193677207 11229538473
188500 36304377 11229556660 11265861037
189000 36059106 11265879442 11301938548
189500 36501325 11301956967 11338458292
190000 36254885 11338476512 11374731397
190500 36683546 11374750212 11411433758
191000 36440919 11411451468 11447892387
191500 36876850 11447910558 11484787408
192000 36629169 11484805179 11521434348
192500 37073834 11521452515 11558526349
193000 37153404 11558543695 11595697099
193500 36913186 11595715798 11632628984
194000 37322913 11632646652 11669969565
194500 37444914 11669987719 11707432633
195000 37547026 11707451079 11744998105
195500 37289869 11745015623 11782305492
196000 37389216 11782323573 11819712789
196500 37832079 11819730749 11857562828
197000 37920069 11857581167 11895501236
197500 38017617 11895519069 11933536686
198000 38107470 11933554831 11971662301
198500 38207719 11971680174 12009887893
199000 38301331 12009906063 12048207394
199500 38394531 12048226170 12086620701

View File

@ -0,0 +1,399 @@
# specimen experiment time starting time ending time
1000 173308 12087061782 12087235090
1500 251049 12087242502 12087493551
2000 338375 12087500422 12087838797
2500 423112 12087845570 12088268682
3000 495876 12088275609 12088771485
3500 577516 12088778317 12089355833
4000 659017 12089362258 12090021275
4500 743116 12090027891 12090771007
5000 822406 12090777575 12091599981
5500 904107 12091606495 12092510602
6000 988626 12092517176 12093505802
6500 1067430 12093512804 12094580234
7000 1148725 12094586334 12095735059
7500 1231955 12095741535 12096973490
8000 1312353 12096980004 12098292357
8500 1395087 12098298658 12099693745
9000 1475266 12099700274 12101175540
9500 1558315 12101181925 12102740240
10000 1638529 12102747177 12104385706
10500 1721392 12104392194 12106113586
11000 1801607 12106119817 12107921424
11500 1884650 12107928287 12109812937
12000 1964844 12109819126 12111783970
12500 2047608 12111790626 12113838234
13000 2129558 12113845225 12115974783
13500 2209679 12115981106 12118190785
14000 2292777 12118196957 12120489734
14500 2373788 12120496223 12122870011
15000 2528352 12122876828 12125405180
15500 2599085 12125423568 12128022653
16000 2622262 12128030222 12130652484
16500 2700655 12130659117 12133359772
17000 2782226 12133366364 12136148590
17500 2863782 12136155401 12139019183
18000 2944059 12139025687 12141969746
18500 3025089 12141976052 12145001141
19000 3108554 12145007249 12148115803
19500 3190053 12148122528 12151312581
20000 3271362 12151319160 12154590522
20500 3353143 12154597131 12157950274
21000 3434885 12157956919 12161391804
21500 3546151 12161398619 12164944770
22000 3606056 12164966988 12168573044
22500 3679894 12168580703 12172260597
23000 3765538 12172267588 12176033126
23500 3845838 12176040263 12179886101
24000 3924517 12179893181 12183817698
24500 4084889 12183824467 12187909356
25000 4091158 12187927055 12192018213
25500 4169533 12192023728 12196193261
26000 4249061 12196199554 12200448615
26500 4330535 12200454738 12204785273
27000 4416121 12204791613 12209207734
27500 4493715 12209214309 12213708024
28000 4575315 12213714471 12218289786
28500 4657675 12218296050 12222953725
29000 4738677 12222959734 12227698411
29500 4820765 12227704369 12232525134
30000 4901618 12232528339 12237429957
30500 4984272 12237435659 12242419931
31000 5065021 12242426542 12247491563
31500 5147168 12247498290 12252645458
32000 5228358 12252651243 12257879601
32500 5310768 12257885834 12263196602
33000 5391638 12263202595 12268594233
33500 5473924 12268600163 12274074087
34000 5555462 12274080753 12279636215
34500 5636461 12279639217 12285275678
35000 5719464 12285280939 12291000403
35500 5802696 12291005391 12296808087
36000 5882435 12296814209 12302696644
36500 5963919 12302702616 12308666535
37000 6044459 12308672455 12314716914
37500 6126645 12314723022 12320849667
38000 6208748 12320855951 12327064699
38500 6290211 12327069941 12333360152
39000 6372019 12333366351 12339738370
39500 6453343 12339744380 12346197723
40000 6535132 12346203712 12352738844
40500 6616777 12352744713 12359361490
41000 6698397 12359367487 12366065884
41500 6779678 12366071822 12372851500
42000 6861379 12372856654 12379718033
42500 6943462 12379724155 12386667617
43000 7024707 12386672730 12393697437
43500 7106110 12393702456 12400808566
44000 7187703 12400815678 12408003381
44500 7269891 12408010301 12415280192
45000 7351499 12415284265 12422635764
45500 7432222 12422640670 12430072892
46000 7513754 12430079201 12437592955
46500 7596232 12437599261 12445195493
47000 7677097 12445201843 12452878940
47500 7758461 12452884793 12460643254
48000 7841705 12460646690 12468488395
48500 7921653 12468493645 12476415298
49000 8003644 12476421297 12484424941
49500 8086286 12484431154 12492517440
50000 8166865 12492524069 12500690934
50500 8249033 12500697153 12508946186
51000 8330104 12508951087 12517281191
51500 8412271 12517287433 12525699704
52000 8493086 12525705998 12534199084
52500 8575221 12534205558 12542780779
53000 8656309 12542786870 12551443179
53500 8739009 12551449281 12560188290
54000 8820231 12560193479 12569013710
54500 8901038 12569019794 12577920832
55000 8983436 12577927348 12586910784
55500 9064722 12586916454 12595981176
56000 9146767 12595986148 12605132915
56500 9227439 12605137747 12614365186
57000 9309962 12614371659 12623681621
57500 9391804 12623687862 12633079666
58000 9473730 12633085919 12642559649
58500 9554996 12642565823 12652120819
59000 9637265 12652125657 12661762922
59500 9717294 12661768602 12671485896
60000 9801587 12671492122 12681293709
60500 9881763 12681300055 12691181818
61000 9963313 12691188542 12701151855
61500 10045286 12701156589 12711201875
62000 10126185 12711208271 12721334456
62500 10208777 12721341090 12731549867
63000 10289894 12731552976 12741842870
63500 10371556 12741847678 12752219234
64000 10453083 12752224889 12762677972
64500 10534569 12762683904 12773218473
65000 10616354 12773224587 12783840941
65500 10698177 12783846021 12794544198
66000 10779847 12794551154 12805331001
66500 11062415 12805334213 12816396628
67000 12414274 12816404006 12828818280
67500 12506634 12828821411 12841328045
68000 12598147 12841331146 12853929293
68500 12691430 12853934654 12866626084
69000 12784129 12866629411 12879413540
69500 12877434 12879416841 12892294275
70000 12969117 12892297203 12905266320
70500 13061808 12905269542 12918331350
71000 13154275 12918334453 12931488728
71500 13247030 12931491788 12944738818
72000 13339789 12944741869 12958081658
72500 13432061 12958084866 12971516927
73000 13524778 12971519998 12985044776
73500 13617265 12985047643 12998664908
74000 13709787 12998667924 13012377711
74500 13802681 13012380647 13026183328
75000 13895014 13026186160 13040081174
75500 13987472 13040086159 13054073631
76000 14081229 13054078680 13068159909
76500 14172318 13068164824 13082337142
77000 14265605 13082340299 13096605904
77500 14359938 13096611125 13110971063
78000 14450216 13110979580 13125429796
78500 14542847 13125432778 13139975625
79000 14635746 13139980465 13154616211
79500 14727419 13154621158 13169348577
80000 14822025 13169351622 13184173647
80500 14915575 13184178407 13199093982
81000 15006908 13199099275 13214106183
81500 15101866 13214111023 13229212889
82000 15192726 13229218123 13244410849
82500 15284192 13244415798 13259699990
83000 15377714 13259704910 13275082624
83500 15469719 13275087596 13290557315
84000 15562608 13290562048 13306124656
84500 15657246 13306129743 13321786989
85000 15748173 13321791993 13337540166
85500 15839950 13337545060 13353385010
86000 15933341 13353390135 13369323476
86500 16026008 13369328276 13385354284
87000 16119087 13385359212 13401478299
87500 16211343 13401482995 13417694338
88000 16303372 13417699148 13434002520
88500 16395515 13434007409 13450402924
89000 16488809 13450407776 13466896585
89500 16581760 13466901711 13483483471
90000 15931023 13483488557 13499419580
90500 14781460 13499424954 13514206414
91000 14861408 13514211055 13529072463
91500 14943609 13529076033 13544019642
92000 15024202 13544024538 13559048740
92500 15106945 13559052189 13574159134
93000 15188920 13574164163 13589353083
93500 15269892 13589358005 13604627897
94000 15350996 13604634878 13619985874
94500 15432959 13619990692 13635423651
95000 15934962 13635428598 13651363560
95500 15597442 13651372730 13666970172
96000 15678993 13666975747 13682654740
96500 15759768 13682659999 13698419767
97000 15840838 13698424817 13714265655
97500 15922542 13714270450 13730192992
98000 16003241 13730197794 13746201035
98500 16085223 13746205886 13762291109
99000 16167078 13762296139 13778463217
99500 16249010 13778468305 13794717315
100000 16330529 13794722278 13811052807
100500 16412683 13811057990 13827470673
101000 16495553 13827475410 13843970963
101500 16577953 13843976210 13860554163
102000 16657332 13860559445 13877216777
102500 16738928 13877221676 13893960604
103000 16820214 13893965546 13910785760
103500 16901798 13910790716 13927692514
104000 16983745 13927697760 13944681505
104500 17065433 13944686167 13961751600
105000 17146784 13961756468 13978903252
105500 17228448 13978908535 13996136983
106000 17310321 13996142066 14013452387
106500 17391359 14013457380 14030848739
107000 17472874 14030853661 14048326535
107500 17554495 14048331633 14065886128
108000 19983888 14065892625 14085876513
108500 20102078 14085882359 14105984437
109000 20192959 14105989624 14126182583
109500 20284728 14126187648 14146472376
110000 20377334 14146477326 14166854660
110500 20471189 14166861330 14187332519
111000 20563400 14187337239 14207900639
111500 20657676 14207905799 14228563475
112000 20749043 14228568837 14249317880
112500 20840933 14249322960 14270163893
113000 20933556 14270168806 14291102362
113500 21025974 14291107587 14312133561
114000 21124735 14312138737 14333263472
114500 21211230 14333268437 14354479667
115000 21306118 14354484953 14375791071
115500 21396434 14375796764 14397193198
116000 21488448 14397198217 14418686665
116500 21581308 14418691506 14440272814
117000 21673290 14440277824 14461951114
117500 21767034 14461956131 14483723165
118000 21859586 14483728380 14505587966
118500 21951189 14505592588 14527543777
119000 22044446 14527548952 14549593398
119500 22136234 14549598592 14571734826
120000 22229847 14571739890 14593969737
120500 22322515 14593974928 14616297443
121000 22414867 14616302456 14638717323
121500 22507661 14638722383 14661230044
122000 22601562 14661235101 14683836663
122500 22705019 14683842212 14706547231
123000 22784869 14706552273 14729337142
123500 22877592 14729342206 14752219798
124000 22969391 14752224789 14775194180
124500 23062160 14775199857 14798262017
125000 23154861 14798269335 14821424196
125500 23247754 14821429484 14844677238
126000 23343480 14844682567 14868026047
126500 23433009 14868031242 14891464251
127000 23525450 14891469391 14914994841
127500 23618341 14914999913 14938618254
128000 23710398 14938623234 14962333632
128500 23803384 14962338641 14986142025
129000 23895612 14986147107 15010042719
129500 23988195 15010047934 15034036129
130000 24080409 15034041232 15058121641
130500 24174507 15058126867 15082301374
131000 24266926 15082306403 15106573329
131500 24358905 15106578649 15130937554
132000 24451692 15130942849 15155394541
132500 24541528 15155399426 15179940954
133000 24634934 15179946443 15204581377
133500 24729359 15204586180 15229315539
134000 24819702 15229320779 15254140481
134500 24912887 15254145740 15279058627
135000 25005537 15279063760 15304069297
135500 25098097 15304074422 15329172519
136000 25189954 15329177543 15354367497
136500 25283995 15354372612 15379656607
137000 25376295 15379661846 15405038141
137500 25467980 15405043151 15430511131
138000 25560887 15430515956 15456076843
138500 25654217 15456081849 15481736066
139000 24197133 15481741429 15505938562
139500 22776920 15505944107 15528721027
140000 22858366 15528725664 15551584030
140500 22939641 15551589144 15574528785
141000 23022070 15574533857 15597555927
141500 23102107 15597560587 15620662694
142000 23184711 15620667725 15643852436
142500 23266017 15643857689 15667123706
143000 23349737 15667128894 15690478631
143500 23429322 15690484016 15713913338
144000 23511653 15713918553 15737430206
144500 23592285 15737435343 15761027628
145000 23674193 15761032549 15784706742
145500 23755399 15784711760 15808467159
146000 23837414 15808472106 15832309520
146500 23920936 15832314386 15856235322
147000 24000597 15856240685 15880241282
147500 24083766 15880248019 15904331785
148000 24163202 15904336773 15928499975
148500 24245159 15928504939 15952750098
149000 24327444 15952755300 15977082744
149500 24408668 15977087660 16001496328
150000 24489958 16001501235 16025991193
150500 24572184 16025996285 16050568469
151000 24653084 16050573383 16075226467
151500 24736006 16075231563 16099967569
152000 24817238 16099972887 16124790125
152500 24898311 16124795122 16149693433
153000 24983051 16149698618 16174681669
153500 25066010 16174686531 16199752541
154000 25155132 16199757412 16224912544
154500 25231294 16224917717 16250149011
155000 25310107 16250154224 16275464331
155500 25392631 16275469487 16300862118
156000 25473367 16300866979 16326340346
156500 25555442 16326345454 16351900896
157000 25636960 16351906133 16377543093
157500 25719819 16377548168 16403267987
158000 25799556 16403273017 16429072573
158500 25881892 16429077335 16454959227
159000 25963970 16454964175 16480928145
159500 26045277 16480933161 16506978438
160000 26126682 16506983331 16533110013
160500 26207603 16533114945 16559322548
161000 26290288 16559327617 16585617905
161500 26371387 16585623099 16611994486
162000 26453102 16611999521 16638452623
162500 26535797 16638457757 16664993554
163000 26618354 16664998642 16691616996
163500 26698649 16691622417 16718321066
164000 26779657 16718326128 16745105785
164500 26861153 16745110833 16771971986
165000 26942991 16771977074 16798920065
165500 27026844 16798925263 16825952107
166000 27108004 16825957389 16853065393
166500 27188123 16853072008 16880260131
167000 27269620 16880265227 16907534847
167500 27351455 16907539768 16934891223
168000 27432431 16934896354 16962328785
168500 27515378 16962333886 16989849264
169000 27596170 16989854186 17017450356
169500 27677455 17017455423 17045132878
170000 27759624 17045138038 17072897662
170500 27842016 17072902642 17100744658
171000 27922105 17100749955 17128672060
171500 28004369 17128677119 17156681488
172000 28084701 17156686472 17184771173
172500 28165839 17184776047 17212941886
173000 28248292 17212946792 17241195084
173500 28329297 17241200275 17269529572
174000 28410975 17269534506 17297945481
174500 28491897 17297950399 17326442296
175000 28572953 17326447216 17355020169
175500 28656187 17355025208 17383681395
176000 28737537 17383686675 17412424212
176500 28818560 17412428951 17441247511
177000 28903213 17441252653 17470155866
177500 28984837 17470161035 17499145872
178000 29063429 17499151100 17528214529
178500 29145159 17528219601 17557364760
179000 29227178 17557369949 17586597127
179500 29308754 17586602156 17615910910
180000 29389929 17615915743 17645305672
180500 29472217 17645310600 17674782817
181000 29554632 17674788355 17704342987
181500 29634450 17704348055 17733982505
182000 29716224 17733987362 17763703586
182500 29804731 17763708438 17793513169
183000 29879827 17793518766 17823398593
183500 29962763 17823403943 17853366706
184000 30042953 17853371897 17883414850
184500 30124222 17883420084 17913544306
185000 30206225 17913549105 17943755330
185500 30286804 17943760889 17974047693
186000 30369486 17974052693 18004422179
186500 30451131 18004427264 18034878395
187000 30531963 18034883151 18065415114
187500 30614899 18065420048 18096034947
188000 30700674 18096039954 18126740628
188500 30776703 18126745854 18157522557
189000 30862100 18157527722 18188389822
189500 30942216 18188394464 18219336680
190000 31025165 18219341807 18250366972
190500 31106073 18250372318 18281478391
191000 31186836 18281483419 18312670255
191500 31267750 18312675169 18343942919
192000 31350260 18343948012 18375298272
192500 31431946 18375303210 18406735156
193000 31513645 18406740105 18438253750
193500 31595064 18438258653 18469853717
194000 31677284 18469858857 18501536141
194500 31757286 18501541013 18533298299
195000 31839745 18533303595 18565143340
195500 31921085 18565148282 18597069367
196000 32003270 18597074791 18629078061
196500 32085871 18629083203 18661169074
197000 32168204 18661173970 18693342174
197500 32249444 18693347402 18725596846
198000 32329692 18725601952 18757931644
198500 32410895 18757936608 18790347503
199000 32492705 18790352541 18822845246
199500 32574379 18822850446 18855424825

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -20,6 +20,7 @@ eina_magic.h \
eina_stringshare.h \
eina_inline_list.x \
eina_accessor.h \
eina_convert.h \
eina_iterator.h
installed_mainheaderdir = $(prefix)/include/eina-@VMAJ@

View File

@ -0,0 +1,35 @@
/* EINA - EFL data type library
* Copyright (C) 2008 Cedric BAIL, Vincent Torri
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library;
* if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef EINA_CONVERT_H_
#define EINA_CONVERT_H_
#include "eina_types.h"
#include "eina_error.h"
EAPI extern Eina_Error EINA_ERROR_CONVERT_P_NOT_FOUND;
EAPI extern Eina_Error EINA_ERROR_CONVERT_0X_NOT_FOUND;
EAPI extern Eina_Error EINA_ERROR_CONVERT_OUTRUN_STRING_LENGTH;
EAPI int eina_convert_itoa(int n, char *s);
EAPI int eina_convert_xtoa(unsigned int n, char *s);
EAPI int eina_convert_dtoa(double d, char *des);
EAPI Eina_Bool eina_convert_atod(const char *src, int length, long long *m, long *e);
#endif /* EINA_CONVERT_H_ */

View File

@ -25,8 +25,9 @@ eina_main.c \
eina_counter.c \
eina_iterator.c \
eina_accessor.c \
eina_convert.c \
eina_stringshare.c
libeina_la_LIBADD = -ldl -lrt @COVERAGE_LIBS@
libeina_la_LIBADD = -ldl -lrt @COVERAGE_LIBS@ -lm
libeina_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@
libeina_la_DEPENDENCIES = $(top_builddir)/config.h

View File

@ -0,0 +1,297 @@
/* EINA - EFL data type library
* Copyright (C) 2008 Cedric BAIL, Vincent Torri
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library;
* if not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "eina_convert.h"
static const char look_up_table[] = {'0', '1', '2', '3', '4',
'5', '6', '7', '8', '9',
'a', 'b', 'c', 'd', 'e', 'f'};
static int _init_count = 0;
EAPI Eina_Error EINA_ERROR_CONVERT_P_NOT_FOUND = 0;
EAPI Eina_Error EINA_ERROR_CONVERT_0X_NOT_FOUND = 0;
EAPI Eina_Error EINA_ERROR_CONVERT_OUTRUN_STRING_LENGTH = 0;
#define HEXA_TO_INT(Hexa) (Hexa >= 'a') ? Hexa - 'a' + 10 : Hexa - '0'
static inline void reverse(char s[], int length)
{
int c, i, j;
for (i = 0, j = length - 1; i < j; i++, j--)
{
c = s[i];
s[i] = s[j];
s[j] = c;
}
}
/*
* Come from the second edition of The C Programming Language ("K&R2") on page 64
*/
EAPI int
eina_convert_itoa(int n, char *s)
{
int i = 0;
int r = 0;
if (n < 0)
{
n = -n;
*s++ = '-';
r = 1;
}
do {
s[i++] = n % 10 + '0';
} while ((n /= 10) > 0);
s[i] = '\0';
reverse(s, i);
return i + r;
}
EAPI int
eina_convert_xtoa(unsigned int n, char *s)
{
int i;
i = 0;
do {
s[i++] = look_up_table[n & 0xF];
} while ((n >>= 4) > 0);
s[i] = '\0';
reverse(s, i);
return i;
}
/* On Windows (using MinGW or VC++), printf-like functions */
/* rely on MSVCRT, which does not fully support the C99 */
/* specifications. In particular, they do not support the */
/* modifier character %a. */
EAPI int
eina_convert_init(void)
{
_init_count++;
if (_init_count > 1) goto init_out;
eina_error_init();
EINA_ERROR_CONVERT_0X_NOT_FOUND = eina_error_register("Error during string convertion to float, First '0x' was not found.");
EINA_ERROR_CONVERT_P_NOT_FOUND = eina_error_register("Error during string convertion to float, First 'p' was not found.");
EINA_ERROR_CONVERT_OUTRUN_STRING_LENGTH = eina_error_register("Error outrun string limit during convertion string convertion to float.");
init_out:
return _init_count;
}
EAPI int
eina_convert_shutdown(void)
{
_init_count--;
if (_init_count > 0) goto shutdown_out;
eina_error_shutdown();
shutdown_out:
return _init_count;
}
/* That function converts a string created by a valid %a */
/* modifier to a double. */
/* */
/* The string must have the following format: */
/* */
/* [-]0xh.hhhhhp[+-]e */
/* */
/* where e is a decimal number. */
/* If n is the number of cyphers after the point, the */
/* returned mantisse and exponents are */
/* */
/* mantisse: [-]hhhhhh */
/* exponent: 2^([+-]e - 4 * n) */
EAPI Eina_Bool
eina_convert_atod(const char *src, int length, long long *m, long *e)
{
const char *str = src;
long long mantisse;
long exponent;
int nbr_decimals = 0;
int sign = 1;
if (length <= 0) goto on_length_error;
/* Compute the mantisse. */
if (*str == '-')
{
sign = -1;
str++;
length--;
}
if (length <= 2) goto on_length_error;
if (strncmp(str, "0x", 2))
{
eina_error_set(EINA_ERROR_CONVERT_0X_NOT_FOUND);
EINA_ERROR_PDBG("'0x' not found in '%s'", src);
return EINA_FALSE;
}
str += 2;
length -= 2;
mantisse = HEXA_TO_INT(*str);
str++;
length--; if (length <= 0) goto on_length_error;
if (*str == '.')
{
for (str++, length--;
length > 0 && *str != 'p';
++str, --length, ++nbr_decimals)
{
mantisse <<= 4;
mantisse += HEXA_TO_INT(*str);
}
str++;
length--; if (length <= 0) goto on_length_error;
}
if (sign < 0) mantisse = -mantisse;
/* Compute the exponent. */
if (*str != 'p')
{
eina_error_set(EINA_ERROR_CONVERT_P_NOT_FOUND);
EINA_ERROR_PDBG("'p' not found in '%s'", src);
return EINA_FALSE;
}
sign = +1;
str++;
length--; if (length <= 0) goto on_length_error;
if (strchr("-+", *str))
{
sign = (*str == '-') ? -1 : +1;
str++; length--;
}
for (exponent = 0; length > 0 && *str != '\0'; ++str, --length)
{
exponent *= 10;
exponent += *str - '0';
}
if (length <= 0) goto on_length_error;
if (sign < 0)
exponent = -exponent;
*m = mantisse;
*e = exponent - (nbr_decimals << 2);
return EINA_TRUE;
on_length_error:
eina_error_set(EINA_ERROR_CONVERT_OUTRUN_STRING_LENGTH);
return EINA_FALSE;
}
/* That function converts a double to a string that as the */
/* following format: */
/* */
/* [-]0xh.hhhhhp[+-]e */
/* */
/* where h is a hexadecimal number and e a decimal number. */
EAPI int
eina_convert_dtoa(double d, char *des)
{
int length = 0;
int p;
int i;
if (d < 0.0)
{
*(des++) = '-';
d = -d;
length++;
}
d = frexp(d, &p);
if (p)
{
d *= 2;
p -= 1;
}
*(des++) = '0';
*(des++) = 'x';
*(des++) = look_up_table[(size_t)d];
*(des++) = '.';
length += 4;
for (i = 0; i < 16; i++, length++)
{
d -= floor(d);
d *= 16;
*(des++) = look_up_table[(size_t)d];
}
while (*(des - 1) == '0')
{
des--;
length--;
}
if (*(des - 1) == '.')
{
des--;
length--;
}
*(des++) = 'p';
if (p < 0)
{
*(des++) = '-';
p = -p;
}
else
*(des++) = '+';
length += 2;
return length + eina_convert_itoa(p, des);
}

View File

@ -29,6 +29,7 @@ eina_test_hash.c \
eina_test_iterator.c \
eina_test_accessor.c \
eina_test_module.c \
eina_test_convert.c \
eina_test_list.c
eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la
@ -43,6 +44,7 @@ eina_bench_SOURCES = \
eina_bench.c \
eina_bench_hash.c \
eina_bench_stringshare.c \
eina_bench_convert.c \
eina_bench_array.c
eina_bench_LDADD = $(top_builddir)/src/lib/libeina.la

View File

@ -177,9 +177,10 @@ struct _Eina_Bench_Case
};
static const Eina_Bench_Case etc[] = {
/* { "Hash", eina_bench_hash }, */
{ "Hash", eina_bench_hash },
{ "Array vs List vs Inlist", eina_bench_array },
/* { "Stringshare", eina_bench_stringshare }, */
/* { "Convert", eina_bench_convert }, */
{ NULL, NULL }
};

View File

@ -29,5 +29,6 @@ void eina_bench_register(Eina_Bench *bench, const char *name, Eina_Bench_Specime
void eina_bench_hash(Eina_Bench *bench);
void eina_bench_array(Eina_Bench *bench);
void eina_bench_stringshare(Eina_Bench *bench);
void eina_bench_convert(Eina_Bench *bench);
#endif

View File

@ -0,0 +1,92 @@
/* EINA - EFL data type library
* Copyright (C) 2008 Cedric Bail
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library;
* if not, see <http://www.gnu.org/licenses/>.
*/
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include "eina_bench.h"
#include "eina_convert.h"
static void
eina_bench_convert_itoa_10(int request)
{
char tmp[128];
int i;
srand(time(NULL));
for (i = 0; i < request; ++i)
{
eina_convert_itoa(rand(), tmp);
}
}
static void
eina_bench_convert_itoa_16(int request)
{
char tmp[128];
int i;
srand(time(NULL));
for (i = 0; i < request; ++i)
{
eina_convert_xtoa(rand(), tmp);
}
}
static void
eina_bench_convert_snprintf_10(int request)
{
char tmp[128];
int i;
srand(time(NULL));
for (i = 0; i < request; ++i)
{
snprintf(tmp, 128, "%i", rand());
}
}
static void
eina_bench_convert_snprintf_x(int request)
{
char tmp[128];
int i;
srand(time(NULL));
for (i = 0; i < request; ++i)
{
snprintf(tmp, 128, "%x", rand());
}
}
void eina_bench_convert(Eina_Bench *bench)
{
eina_bench_register(bench, "itoa 10", EINA_BENCH(eina_bench_convert_itoa_10), 1000, 200000, 500);
eina_bench_register(bench, "itoa 16", EINA_BENCH(eina_bench_convert_itoa_16), 1000, 200000, 500);
eina_bench_register(bench, "snprintf 10", EINA_BENCH(eina_bench_convert_snprintf_10), 1000, 200000, 500);
eina_bench_register(bench, "snprintf 16", EINA_BENCH(eina_bench_convert_snprintf_x), 1000, 200000, 500);
}

View File

@ -39,6 +39,7 @@ static const Eina_Test_Case etc[] = {
{ "Iterator", eina_test_iterator },
{ "Accessor", eina_test_accessor },
{ "Module", eina_test_module },
{ "Convert", eina_test_convert },
{ NULL, NULL }
};

View File

@ -38,5 +38,6 @@ void eina_test_list(TCase *tc);
void eina_test_iterator(TCase *tc);
void eina_test_accessor(TCase *tc);
void eina_test_module(TCase *tc);
void eina_test_convert(TCase *tc);
#endif /* EINA_SUITE_H_ */

View File

@ -0,0 +1,60 @@
/* EINA - EFL data type library
* Copyright (C) 2008 Cedric Bail
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library;
* if not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <string.h>
#include "eina_convert.h"
#include "eina_suite.h"
START_TEST(eina_convert_simple)
{
char tmp[128];
int length;
fail_if(eina_convert_itoa(0, tmp) != 1);
fail_if(strcmp(tmp, "0") != 0);
fail_if(eina_convert_itoa(-1, tmp) != 2);
fail_if(strcmp(tmp, "-1") != 0);
fail_if(eina_convert_itoa(100, tmp) != 3);
fail_if(strcmp(tmp, "100") != 0);
fail_if(eina_convert_itoa(-100, tmp) != 4);
fail_if(strcmp(tmp, "-100") != 0);
fail_if(eina_convert_itoa(10000000, tmp) != 8);
fail_if(strcmp(tmp, "10000000") != 0);
fail_if(eina_convert_xtoa(0, tmp) != 1);
fail_if(strcmp(tmp, "0") != 0);
fail_if(eina_convert_xtoa(0xA1, tmp) != 2);
fail_if(strcmp(tmp, "a1") != 0);
fail_if(eina_convert_xtoa(0xFF00EF0E, tmp) != 8);
fail_if(strcmp(tmp, "ff00ef0e") != 0);
}
END_TEST
void
eina_test_convert(TCase *tc)
{
tcase_add_test(tc, eina_convert_simple);
}