|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: t
Length: 2916 (0xb64)
Names: »times.3c«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/times.3c«
0x000…020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x020…040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆
0x040…060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 6d 65 73 28 33 63 29 0a 0a 0a 0a ┆ions times(3c) ┆
0x060…080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆
0x080…0a0 20 20 74 69 6d 65 73 20 2d 20 67 65 74 20 70 72 6f 63 65 73 73 20 61 6e 64 20 77 61 69 74 65 64 ┆ times - get process and waited┆
0x0a0…0c0 2d 66 6f 72 20 63 68 69 6c 64 20 70 72 6f 63 65 73 73 20 74 69 6d 65 73 0a 0a 53 08 53 08 53 08 ┆-for child process times S S S ┆
0x0c0…0e0 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 ┆SY Y Y YN N N NT T T TA A A AX X┆
0x0e0…100 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 ┆ X X # # # #i i i in n n nc┆
0x100…120 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 ┆ c c cl l l lu u u ud d d de e e┆
0x120…140 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f ┆ e < < < <s s s sy y y ys s s s/┆
0x140…160 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 ┆ / / /t t t ti i i im m m me e e┆
0x160…180 08 65 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a ┆ es s s s. . . .h h h h> > > > ┆
0x180…1a0 20 20 20 20 20 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 ┆ c c c cl l l lo o o oc c c ┆
0x1a0…1c0 63 6b 08 6b 08 6b 08 6b 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 74 08 74 08 74 08 74 69 08 ┆ck k k k_ _ _ _t t t t t t t ti ┆
0x1c0…1e0 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 73 08 73 08 73 08 73 28 08 28 08 28 08 ┆i i im m m me e e es s s s( ( ( ┆
0x1e0…200 28 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 66 08 66 08 66 08 66 65 08 65 ┆(b b b bu u u uf f f ff f f fe e┆
0x200…220 08 65 08 65 72 08 72 08 72 08 72 29 08 29 08 29 08 29 0a 20 20 20 20 20 73 08 73 08 73 08 73 74 ┆ e er r r r) ) ) ) s s s st┆
0x220…240 08 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 75 63 08 63 08 63 08 63 74 08 74 08 74 ┆ t t tr r r ru u u uc c c ct t t┆
0x240…260 08 74 20 74 08 74 08 74 08 74 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 20 2a 08 2a 08 2a 08 2a ┆ t t t t tm m m ms s s s * * * *┆
0x260…280 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 66 08 66 08 66 08 66 65 08 65 08 ┆b b b bu u u uf f f ff f f fe e ┆
0x280…2a0 65 08 65 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 ┆e er r r r; ; ; ; D D D DE E E ┆
0x2a0…2c0 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 ┆ES S S SC C C CR R R RI I I IP P┆
0x2c0…2e0 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e ┆ P PT T T TI I I IO O O ON N N N┆
0x2e0…300 0a 20 20 20 20 20 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 5f 08 73 20 66 69 6c 6c 73 20 74 68 65 20 ┆ _ t_ i_ m_ e_ s fills the ┆
0x300…320 74 08 74 08 74 08 74 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 20 73 74 72 75 63 74 75 72 65 20 ┆t t t tm m m ms s s s structure ┆
0x320…340 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 62 5f 08 75 5f 08 66 5f 08 66 5f 08 65 5f 08 72 ┆pointed to by _ b_ u_ f_ f_ e_ r┆
0x340…360 20 77 69 74 68 0a 20 20 20 20 20 74 69 6d 65 2d 61 63 63 6f 75 6e 74 69 6e 67 20 69 6e 66 6f 72 ┆ with time-accounting infor┆
0x360…380 6d 61 74 69 6f 6e 2e 20 54 68 65 20 73 74 72 75 63 74 75 72 65 20 74 08 74 08 74 08 74 6d 08 6d ┆mation. The structure t t t tm m┆
0x380…3a0 08 6d 08 6d 73 08 73 08 73 08 73 20 69 73 20 64 65 66 69 6e 65 64 20 69 6e 0a 20 20 20 20 20 3c ┆ m ms s s s is defined in <┆
0x3a0…3c0 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f ┆ < < <s s s sy y y ys s s s/ / /┆
0x3c0…3e0 08 2f 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 73 08 ┆ /t t t ti i i im m m me e e es ┆
0x3e0…400 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 2e 0a 0a 20 20 20 ┆s s s. . . .h h h h> > > >. ┆
0x400…420 20 20 41 6c 6c 20 74 69 6d 65 73 20 61 72 65 20 64 65 66 69 6e 65 64 20 69 6e 20 7b 43 4c 4b 5f ┆ All times are defined in {CLK_┆
0x420…440 54 43 4b 7d 74 68 73 20 6f 66 20 61 20 73 65 63 6f 6e 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 74 ┆TCK}ths of a second. The t┆
0x440…460 69 6d 65 73 20 6f 66 20 61 20 74 65 72 6d 69 6e 61 74 65 64 20 63 68 69 6c 64 20 70 72 6f 63 65 ┆imes of a terminated child proce┆
0x460…480 73 73 20 61 72 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 74 68 65 0a 20 20 20 20 20 5f 08 74 5f ┆ss are included in the _ t_┆
0x480…4a0 08 6d 5f 08 73 5f 5f 08 63 5f 08 75 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 61 6e 64 20 5f 08 74 ┆ m_ s__ c_ u_ t_ i_ m_ e and _ t┆
0x4a0…4c0 5f 08 6d 5f 08 73 5f 5f 08 63 5f 08 73 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 65 6c 65 6d 65 6e ┆_ m_ s__ c_ s_ t_ i_ m_ e elemen┆
0x4c0…4e0 74 73 20 6f 66 20 74 68 65 20 70 61 72 65 6e 74 20 77 68 65 6e 20 61 0a 20 20 20 20 20 5f 08 77 ┆ts of the parent when a _ w┆
0x4e0…500 5f 08 61 5f 08 69 5f 08 74 28 29 20 6f 72 20 5f 08 77 5f 08 61 5f 08 69 5f 08 74 5f 08 70 5f 08 ┆_ a_ i_ t() or _ w_ a_ i_ t_ p_ ┆
0x500…520 69 5f 08 64 28 29 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 73 20 74 68 65 20 70 72 6f 63 ┆i_ d() function returns the proc┆
0x520…540 65 73 73 20 49 44 20 6f 66 20 74 68 69 73 0a 20 20 20 20 20 74 65 72 6d 69 6e 61 74 65 64 20 63 ┆ess ID of this terminated c┆
0x540…560 68 69 6c 64 2e 20 20 49 66 20 61 20 63 68 69 6c 64 20 70 72 6f 63 65 73 73 20 68 61 73 20 6e 6f ┆hild. If a child process has no┆
0x560…580 74 20 77 61 69 74 65 64 20 66 6f 72 20 69 74 73 0a 20 20 20 20 20 63 68 69 6c 64 72 65 6e 2c 20 ┆t waited for its children, ┆
0x580…5a0 74 68 65 69 72 20 74 69 6d 65 73 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 69 6e 63 6c 75 64 65 64 ┆their times will not be included┆
0x5a0…5c0 20 69 6e 20 69 74 73 20 74 69 6d 65 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 5f 08 ┆ in its times. The _ ┆
0x5c0…5e0 74 5f 08 6d 5f 08 73 5f 5f 08 75 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 73 74 72 75 63 74 75 72 ┆t_ m_ s__ u_ t_ i_ m_ e structur┆
0x5e0…600 65 20 6d 65 6d 62 65 72 20 69 73 20 74 68 65 20 43 50 55 20 74 69 6d 65 20 63 68 61 72 67 65 64 ┆e member is the CPU time charged┆
0x600…620 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 74 68 65 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 20 ┆ for the execution of ┆
0x620…640 75 73 65 72 20 69 6e 73 74 72 75 63 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 63 61 6c 6c 69 6e 67 ┆user instructions of the calling┆
0x640…660 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 54 ┆ process. T┆
0x660…680 68 65 20 5f 08 74 5f 08 6d 5f 08 73 5f 5f 08 73 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 73 74 72 ┆he _ t_ m_ s__ s_ t_ i_ m_ e str┆
0x680…6a0 75 63 74 75 72 65 20 6d 65 6d 62 65 72 20 69 73 20 74 68 65 20 43 50 55 20 74 69 6d 65 20 63 68 ┆ucture member is the CPU time ch┆
0x6a0…6c0 61 72 67 65 64 0a 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 65 78 65 63 75 74 69 6f 6e 20 62 79 ┆arged for execution by┆
0x6c0…6e0 20 74 68 65 20 73 79 73 74 65 6d 20 6f 6e 20 62 65 68 61 6c 66 20 6f 66 20 74 68 65 20 63 61 6c ┆ the system on behalf of the cal┆
0x6e0…700 6c 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 2e 0a 0a 20 20 20 20 20 20 20 ┆ling process. ┆
0x700…720 20 20 20 54 68 65 20 5f 08 74 5f 08 6d 5f 08 73 5f 5f 08 63 5f 08 75 5f 08 74 5f 08 69 5f 08 6d ┆ The _ t_ m_ s__ c_ u_ t_ i_ m┆
0x720…740 5f 08 65 20 73 74 72 75 63 74 75 72 65 20 6d 65 6d 62 65 72 20 69 73 20 74 68 65 20 73 75 6d 20 ┆_ e structure member is the sum ┆
0x740…760 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 5f 08 74 5f 08 6d 5f 08 73 5f 5f 08 75 5f 08 ┆of the _ t_ m_ s__ u_ ┆
0x760…780 74 5f 08 69 5f 08 6d 5f 08 65 20 61 6e 64 20 5f 08 74 5f 08 6d 5f 08 73 5f 5f 08 63 5f 08 75 5f ┆t_ i_ m_ e and _ t_ m_ s__ c_ u_┆
0x780…7a0 08 74 5f 08 69 5f 08 6d 5f 08 65 20 74 69 6d 65 73 20 6f 66 20 74 68 65 20 63 68 69 6c 64 20 70 ┆ t_ i_ m_ e times of the child p┆
0x7a0…7c0 72 6f 63 65 73 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 5f 08 74 5f 08 6d 5f 08 73 ┆rocess. The _ t_ m_ s┆
0x7c0…7e0 5f 5f 08 63 5f 08 73 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 73 74 72 75 63 74 75 72 65 20 6d 65 ┆__ c_ s_ t_ i_ m_ e structure me┆
0x7e0…800 6d 62 65 72 20 69 73 20 74 68 65 20 73 75 6d 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 ┆mber is the sum of the ┆
0x800…820 20 5f 08 74 5f 08 6d 5f 08 73 5f 5f 08 73 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 61 6e 64 20 5f ┆ _ t_ m_ s__ s_ t_ i_ m_ e and _┆
0x820…840 08 74 5f 08 6d 5f 08 73 5f 5f 08 63 5f 08 73 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 20 74 69 6d 65 ┆ t_ m_ s__ c_ s_ t_ i_ m_ e time┆
0x840…860 73 20 6f 66 20 74 68 65 20 63 68 69 6c 64 20 70 72 6f 63 65 73 73 65 73 2e 0a 0a 52 08 52 08 52 ┆s of the child processes. R R R┆
0x860…880 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 ┆ RE E E ET T T TU U U UR R R RN ┆
0x880…8a0 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 ┆N N N V V V VA A A AL L L LU U U┆
0x8a0…8c0 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63 ┆ UE E E E Upon successful c┆
0x8c0…8e0 6f 6d 70 6c 65 74 69 6f 6e 2c 20 5f 08 74 5f 08 69 5f 08 6d 5f 08 65 5f 08 73 20 72 65 74 75 72 ┆ompletion, _ t_ i_ m_ e_ s retur┆
0x8e0…900 6e 73 20 74 68 65 20 65 6c 61 70 73 65 64 20 72 65 61 6c 0a 20 20 20 20 20 74 69 6d 65 2c 20 69 ┆ns the elapsed real time, i┆
0x900…920 6e 20 7b 43 4c 4b 5f 54 43 4b 7d 74 68 73 20 6f 66 20 61 20 73 65 63 6f 6e 64 20 61 73 20 64 65 ┆n {CLK_TCK}ths of a second as de┆
0x920…940 73 63 72 69 62 65 64 20 61 62 6f 76 65 2e 20 54 68 65 0a 20 20 20 20 20 72 65 74 75 72 6e 20 76 ┆scribed above. The return v┆
0x940…960 61 6c 75 65 20 6d 61 79 20 6f 76 65 72 66 6c 6f 77 20 74 68 65 20 70 6f 73 73 69 62 6c 65 20 72 ┆alue may overflow the possible r┆
0x960…980 61 6e 67 65 20 6f 66 20 74 79 70 65 0a 20 20 20 20 20 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c ┆ange of type c c c cl l l l┆
0x980…9a0 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b 5f 08 5f 08 5f 08 5f 74 08 74 08 ┆o o o oc c c ck k k k_ _ _ _t t ┆
0x9a0…9c0 74 08 74 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f ┆t t. E E E ER R R RR R R RO O O┆
0x9c0…9e0 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 4e 6f 20 65 72 72 6f 72 73 20 ┆ OR R R RS S S S No errors ┆
0x9e0…a00 61 72 65 20 64 65 66 69 6e 65 64 2e 0a 0a 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 54 08 54 08 ┆are defined. N N N NO O O OT T ┆
0xa00…a20 54 08 54 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 41 70 70 6c 69 63 61 74 69 ┆T TE E E ES S S S Applicati┆
0xa20…a40 6f 6e 73 20 73 68 6f 75 6c 64 20 75 73 65 20 5f 08 73 5f 08 79 5f 08 73 5f 08 63 5f 08 6f 5f 08 ┆ons should use _ s_ y_ s_ c_ o_ ┆
0xa40…a60 6e 5f 08 66 28 29 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 74 68 65 20 76 61 6c 75 65 20 6f 66 ┆n_ f() to determine the value of┆
0xa60…a80 0a 20 20 20 20 20 7b 43 4c 4b 5f 54 43 4b 7d 20 61 73 20 69 74 20 6d 61 79 20 76 61 72 79 20 66 ┆ {CLK_TCK} as it may vary f┆
0xa80…aa0 72 6f 6d 20 73 79 73 74 65 6d 20 74 6f 20 73 79 73 74 65 6d 2e 0a 0a 53 08 53 08 53 08 53 45 08 ┆rom system to system. S S S SE ┆
0xaa0…ac0 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 ┆E E EE E E E A A A AL L L LS S S┆
0xac0…ae0 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a ┆ SO O O O System Calls (2):┆
0xae0…b00 20 65 78 65 63 2c 20 66 6f 72 6b 2c 20 77 61 69 74 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 ┆ exec, fork, wait Library F┆
0xb00…b20 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 73 79 73 63 6f 6e 66 2c 20 74 69 6d 65 0a 0a 44 65 63 ┆unctions (3): sysconf, time Dec┆
0xb20…b40 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ember 1990 ┆
0xb40…b60 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a ┆ TX Programmer's Reference ┆
0xb60…b64 0a 0a 0a 0a ┆ ┆