|
|
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: p
Length: 3100 (0xc1c)
Names: »profil.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/profil.2«
└─⟦this⟧ »./usr/man/cat2/profil.2«
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 20 20 53 79 73 74 65 6d 20 43 61 6c 6c ┆ u_ a_ l System Call┆ 0x040…060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 66 69 6c 28 32 29 0a 0a 0a 0a ┆s profil(2) ┆ 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 70 72 6f 66 69 6c 20 2d 20 65 78 65 63 75 74 69 6f 6e 2d 74 69 6d 65 20 70 72 6f 66 69 6c ┆ profil - execution-time profil┆ 0x0a0…0c0 65 20 6d 6f 6e 69 74 6f 72 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e ┆e monitor S S S SY Y Y YN N N N┆ 0x0c0…0e0 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 70 08 70 08 70 ┆T T T TA A A AX X X X p p p┆ 0x0e0…100 08 70 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 ┆ pr r r ro o o of f f fi i i il ┆ 0x100…120 6c 08 6c 08 6c 28 08 28 08 28 08 28 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 ┆l l l( ( ( (b b b bu u u uf f f ┆ 0x120…140 66 66 08 66 08 66 08 66 2c 08 2c 08 2c 08 2c 20 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 ┆ff f f f, , , , b b b bu u u uf ┆ 0x140…160 66 08 66 08 66 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 2c 08 2c 08 2c 08 ┆f f fs s s si i i iz z z z, , , ┆ 0x160…180 2c 20 6f 08 6f 08 6f 08 6f 66 08 66 08 66 08 66 66 08 66 08 66 08 66 73 08 73 08 73 08 73 65 08 ┆, o o o of f f ff f f fs s s se ┆ 0x180…1a0 65 08 65 08 65 74 08 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 63 08 63 08 63 ┆e e et t t t, , , , s s s sc c c┆ 0x1a0…1c0 08 63 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 29 08 29 08 29 08 29 0a 20 ┆ ca a a al l l le e e e) ) ) ) ┆ 0x1c0…1e0 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 ┆ c c c ch h h ha a a ar r r r┆ 0x1e0…200 20 2a 08 2a 08 2a 08 2a 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 66 08 66 ┆ * * * *b b b bu u u uf f f ff f┆ 0x200…220 08 66 08 66 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 ┆ f f; ; ; ; i i i in n n nt┆ 0x220…240 08 74 08 74 08 74 20 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 73 08 73 08 ┆ t t t b b b bu u u uf f f fs s ┆ 0x240…260 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 2c 08 2c 08 2c 08 2c 20 6f 08 6f 08 6f 08 6f ┆s si i i iz z z z, , , , o o o o┆ 0x260…280 66 08 66 08 66 08 66 66 08 66 08 66 08 66 73 08 73 08 73 08 73 65 08 65 08 65 08 65 74 08 74 08 ┆f f f ff f f fs s s se e e et t ┆ 0x280…2a0 74 08 74 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 63 08 63 08 63 08 63 61 08 61 08 61 08 61 ┆t t, , , , s s s sc c c ca a a a┆ 0x2a0…2c0 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 ┆l l l le e e e; ; ; ; D D D DE ┆ 0x2c0…2e0 45 08 45 08 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 ┆E E ES S S SC C C CR R R RI I I ┆ 0x2e0…300 49 50 08 50 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 ┆IP P P PT T T TI I I IO O O ON N┆ 0x300…320 08 4e 08 4e 0a 20 20 20 20 20 54 68 69 73 20 63 61 6c 6c 20 65 6e 61 62 6c 65 73 20 70 72 6f 67 ┆ N N This call enables prog┆ 0x320…340 72 61 6d 2d 63 6f 75 6e 74 65 72 20 73 61 6d 70 6c 69 6e 67 3b 20 69 74 20 69 73 20 75 73 65 64 ┆ram-counter sampling; it is used┆ 0x340…360 20 62 79 0a 20 20 20 20 20 74 68 65 20 5f 08 67 5f 08 70 5f 08 72 5f 08 6f 5f 08 66 20 73 75 62 ┆ by the _ g_ p_ r_ o_ f sub┆ 0x360…380 73 79 73 74 65 6d 20 61 6e 64 20 6d 61 79 20 62 65 20 75 73 65 64 20 62 79 20 6f 74 68 65 72 20 ┆system and may be used by other ┆ 0x380…3a0 70 72 6f 66 69 6c 69 6e 67 0a 20 20 20 20 20 74 6f 6f 6c 73 2e 20 20 44 75 72 69 6e 67 20 70 72 ┆profiling tools. During pr┆ 0x3a0…3c0 6f 66 69 6c 69 6e 67 2c 20 54 58 20 65 78 61 6d 69 6e 65 73 20 74 68 65 20 70 72 6f 67 72 61 6d ┆ofiling, TX examines the program┆ 0x3c0…3e0 20 63 6f 75 6e 74 65 72 20 6f 6e 0a 20 20 20 20 20 65 61 63 68 20 63 6c 6f 63 6b 20 74 69 63 6b ┆ counter on each clock tick┆ 0x3e0…400 20 28 31 36 2e 36 20 6d 69 6c 6c 69 73 65 63 6f 6e 64 73 29 20 61 6e 64 20 69 6e 63 72 65 6d 65 ┆ (16.6 milliseconds) and increme┆ 0x400…420 6e 74 73 20 61 0a 20 20 20 20 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 63 6f 75 6e 74 65 72 ┆nts a corresponding counter┆ 0x420…440 20 69 6e 20 74 68 65 20 75 73 65 72 27 73 20 6d 65 6d 6f 72 79 2e 0a 0a 20 20 20 20 20 62 08 62 ┆ in the user's memory. b b┆ 0x440…460 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 20 53 70 65 63 69 66 ┆ b bu u u uf f f ff f f f Specif┆ 0x460…480 69 65 73 20 61 20 77 72 69 74 65 61 62 6c 65 20 61 72 65 61 20 74 68 61 74 20 6d 75 73 74 20 62 ┆ies a writeable area that must b┆ 0x480…4a0 65 20 6f 6e 20 61 20 77 6f 72 64 20 62 6f 75 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 64 61 72 79 ┆e on a word boun- dary┆ 0x4a0…4c0 2c 20 77 68 65 72 65 20 60 60 77 6f 72 64 27 27 20 69 73 20 5f 08 73 5f 08 68 5f 08 6f 5f 08 72 ┆, where ``word'' is _ s_ h_ o_ r┆ 0x4c0…4e0 5f 08 74 20 5f 08 69 5f 08 6e 5f 08 74 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 61 6e 20 65 72 ┆_ t _ i_ n_ t. Otherwise, an er┆ 0x4e0…500 72 6f 72 0a 20 20 20 20 20 20 20 20 20 20 69 73 20 72 65 74 75 72 6e 65 64 2e 0a 0a 20 20 20 20 ┆ror is returned. ┆ 0x500…520 20 62 08 62 08 62 08 62 75 08 75 08 75 08 75 66 08 66 08 66 08 66 73 08 73 08 73 08 73 69 08 69 ┆ b b b bu u u uf f f fs s s si i┆ 0x520…540 08 69 08 69 7a 08 7a 08 7a 08 7a 0a 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 ┆ i iz z z z Specifies ┆ 0x540…560 74 68 65 20 73 69 7a 65 20 69 6e 20 62 79 74 65 73 20 6f 66 20 74 68 65 20 70 72 6f 66 69 6c 69 ┆the size in bytes of the profili┆ 0x560…580 6e 67 20 62 75 66 66 65 72 2e 0a 20 20 20 20 20 20 20 20 20 20 49 66 20 73 69 7a 65 20 69 73 20 ┆ng buffer. If size is ┆ 0x580…5a0 6e 6f 74 20 61 20 6d 75 6c 74 69 70 6c 65 20 6f 66 20 32 20 62 79 74 65 73 2c 20 61 6e 20 65 72 ┆not a multiple of 2 bytes, an er┆ 0x5a0…5c0 72 6f 72 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 65 64 2e 20 20 49 66 20 74 ┆ror is returned. If t┆ 0x5c0…5e0 68 65 20 73 69 7a 65 20 69 73 20 30 2c 20 70 72 6f 66 69 6c 69 6e 67 20 69 73 20 69 6e 65 66 66 ┆he size is 0, profiling is ineff┆ 0x5e0…600 65 63 74 69 76 65 2e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 63 08 63 08 63 08 63 61 08 61 08 ┆ective. s s s sc c c ca a ┆ 0x600…620 61 08 61 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 0a 20 20 20 20 20 20 20 20 20 20 53 70 65 63 ┆a al l l le e e e Spec┆ 0x620…640 69 66 69 65 73 20 61 6e 20 75 6e 73 69 67 6e 65 64 2c 20 66 69 78 65 64 2d 70 6f 69 6e 74 20 66 ┆ifies an unsigned, fixed-point f┆ 0x640…660 72 61 63 74 69 6f 6e 20 77 69 74 68 20 62 69 6e 61 72 79 0a 20 20 20 20 20 20 20 20 20 20 70 6f ┆raction with binary po┆ 0x660…680 69 6e 74 20 61 74 20 74 68 65 20 6c 65 66 74 2e 20 20 50 72 6f 66 69 6c 69 6e 67 20 69 73 20 74 ┆int at the left. Profiling is t┆ 0x680…6a0 75 72 6e 65 64 20 6f 66 66 20 69 66 20 5f 08 73 5f 08 63 5f 08 61 5f 08 6c 5f 08 65 20 69 73 0a ┆urned off if _ s_ c_ a_ l_ e is ┆ 0x6a0…6c0 20 20 20 20 20 20 20 20 20 20 30 20 6f 72 20 31 2e 0a 0a 20 20 20 20 20 53 74 61 74 69 73 74 69 ┆ 0 or 1. Statisti┆ 0x6c0…6e0 63 73 20 61 72 65 20 67 61 74 68 65 72 65 64 20 61 73 20 66 6f 6c 6c 6f 77 73 2e 20 20 5f 08 6f ┆cs are gathered as follows. _ o┆ 0x6e0…700 5f 08 66 5f 08 66 5f 08 73 5f 08 65 5f 08 74 20 69 73 20 73 75 62 74 72 61 63 74 65 64 0a 20 20 ┆_ f_ f_ s_ e_ t is subtracted ┆ 0x700…720 20 20 20 66 72 6f 6d 20 74 68 65 20 70 72 6f 67 72 61 6d 20 63 6f 75 6e 74 65 72 2c 20 61 6e 64 ┆ from the program counter, and┆ 0x720…740 20 74 68 65 20 72 65 73 75 6c 74 20 6d 75 6c 74 69 70 6c 69 65 64 20 62 79 0a 20 20 20 20 20 5f ┆ the result multiplied by _┆ 0x740…760 08 73 5f 08 63 5f 08 61 5f 08 6c 5f 08 65 2e 20 20 49 66 20 74 68 65 20 72 65 73 75 6c 74 69 6e ┆ s_ c_ a_ l_ e. If the resultin┆ 0x760…780 67 20 6e 75 6d 62 65 72 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 61 20 77 6f 72 64 20 69 ┆g number corresponds to a word i┆ 0x780…7a0 6e 73 69 64 65 0a 20 20 20 20 20 5f 08 62 5f 08 75 5f 08 66 5f 08 66 2c 20 74 68 61 74 20 77 6f ┆nside _ b_ u_ f_ f, that wo┆ 0x7a0…7c0 72 64 20 69 73 20 69 6e 63 72 65 6d 65 6e 74 65 64 2e 20 20 54 68 65 20 73 63 61 6c 65 20 69 73 ┆rd is incremented. The scale is┆ 0x7c0…7e0 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 0a 20 20 20 20 20 61 6e 20 75 6e 73 69 67 6e 65 64 ┆ interpreted as an unsigned┆ 0x7e0…800 2c 20 66 69 78 65 64 2d 70 6f 69 6e 74 20 66 72 61 63 74 69 6f 6e 20 77 69 74 68 20 62 69 6e 61 ┆, fixed-point fraction with bina┆ 0x800…820 72 79 20 70 6f 69 6e 74 20 61 74 20 74 68 65 0a 20 20 20 20 20 6c 65 66 74 3a 20 30 78 31 30 30 ┆ry point at the left: 0x100┆ 0x820…840 30 30 20 67 69 76 65 73 20 61 20 31 2d 31 20 6d 61 70 70 69 6e 67 20 6f 66 20 70 63 27 73 20 74 ┆00 gives a 1-1 mapping of pc's t┆ 0x840…860 6f 20 77 6f 72 64 73 20 69 6e 20 5f 08 62 5f 08 75 5f 08 66 5f 08 66 3b 0a 20 20 20 20 20 30 78 ┆o words in _ b_ u_ f_ f; 0x┆ 0x860…880 38 30 30 30 20 6d 61 70 73 20 65 61 63 68 20 70 61 69 72 20 6f 66 20 69 6e 73 74 72 75 63 74 69 ┆8000 maps each pair of instructi┆ 0x880…8a0 6f 6e 20 77 6f 72 64 73 20 74 6f 67 65 74 68 65 72 2e 20 20 30 78 32 0a 20 20 20 20 20 6d 61 70 ┆on words together. 0x2 map┆ 0x8a0…8c0 73 20 61 6c 6c 20 69 6e 73 74 72 75 63 74 69 6f 6e 73 20 6f 6e 74 6f 20 74 68 65 20 62 65 67 69 ┆s all instructions onto the begi┆ 0x8c0…8e0 6e 6e 69 6e 67 20 6f 66 20 5f 08 62 5f 08 75 5f 08 66 5f 08 66 20 28 70 72 6f 64 75 63 69 6e 67 ┆nning of _ b_ u_ f_ f (producing┆ 0x8e0…900 0a 20 20 20 20 20 61 20 6e 6f 6e 2d 69 6e 74 65 72 72 75 70 74 69 6e 67 20 63 6f 72 65 20 63 6c ┆ a non-interrupting core cl┆ 0x900…920 6f 63 6b 29 2e 0a 0a 20 20 20 20 20 50 72 6f 66 69 6c 69 6e 67 20 69 73 20 74 75 72 6e 65 64 20 ┆ock). Profiling is turned ┆ 0x920…940 6f 66 66 20 77 68 65 6e 20 61 6e 20 5f 08 65 5f 08 78 5f 08 65 5f 08 63 5f 08 76 5f 08 65 20 69 ┆off when an _ e_ x_ e_ c_ v_ e i┆ 0x940…960 73 20 65 78 65 63 75 74 65 64 2c 20 62 75 74 0a 20 20 20 20 20 72 65 6d 61 69 6e 73 20 6f 6e 20 ┆s executed, but remains on ┆ 0x960…980 69 6e 20 63 68 69 6c 64 20 61 6e 64 20 70 61 72 65 6e 74 20 62 6f 74 68 20 61 66 74 65 72 20 61 ┆in child and parent both after a┆ 0x980…9a0 20 5f 08 66 5f 08 6f 5f 08 72 5f 08 6b 2e 20 20 50 72 6f 66 69 6c 69 6e 67 0a 20 20 20 20 20 69 ┆ _ f_ o_ r_ k. Profiling i┆ 0x9a0…9c0 73 20 74 75 72 6e 65 64 20 6f 66 66 20 69 66 20 61 6e 20 75 70 64 61 74 65 20 69 6e 20 5f 08 62 ┆s turned off if an update in _ b┆ 0x9c0…9e0 5f 08 75 5f 08 66 5f 08 66 20 77 6f 75 6c 64 20 63 61 75 73 65 20 61 20 6d 65 6d 6f 72 79 0a 20 ┆_ u_ f_ f would cause a memory ┆ 0x9e0…a00 20 20 20 20 66 61 75 6c 74 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 ┆ fault. R R R RE E E ET T T ┆ 0xa00…a20 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 ┆TU U U UR R R RN N N N V V V VA ┆ 0xa20…a40 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 ┆A A AL L L LU U U UE E E E ┆ 0xa40…a60 30 20 69 6e 64 69 63 61 74 65 73 20 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f ┆0 indicates successful completio┆ 0xa60…a80 6e 2e 0a 20 20 20 20 20 2d 31 20 69 6e 64 69 63 61 74 65 73 20 65 72 72 6f 72 20 72 65 74 75 72 ┆n. -1 indicates error retur┆ 0xa80…aa0 6e 2c 20 61 6e 64 20 65 72 72 6e 6f 20 69 6e 64 69 63 61 74 65 73 20 74 68 65 20 65 72 72 6f 72 ┆n, and errno indicates the error┆ 0xaa0…ac0 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 08 4f 52 ┆. E E E ER R R RR R R RO O O OR┆ 0xac0…ae0 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5b 45 46 41 55 4c 54 5d 20 20 20 20 20 ┆ R R RS S S S [EFAULT] ┆ 0xae0…b00 20 20 54 68 65 20 73 70 65 63 69 66 69 65 64 20 62 75 66 66 65 72 20 69 73 20 6e 6f 74 20 61 6c ┆ The specified buffer is not al┆ 0xb00…b20 69 67 6e 65 64 20 6f 72 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆igned or is not ┆ 0xb20…b40 20 20 20 20 69 6e 20 75 73 65 72 2d 77 72 69 74 65 61 62 6c 65 20 6d 65 6d 6f 72 79 2e 0a 0a 53 ┆ in user-writeable memory. S┆ 0xb40…b60 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 ┆ S S SE E E EE E E E A A A AL L ┆ 0xb60…b80 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d ┆L LS S S SO O O O User Comm┆ 0xb80…ba0 61 6e 64 73 20 28 31 29 3a 20 20 67 70 72 6f 66 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c ┆ands (1): gprof System Cal┆ 0xba0…bc0 6c 73 20 28 32 29 3a 20 20 73 65 74 69 74 69 6d 65 72 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 ┆ls (2): setitimer Library ┆ 0xbc0…be0 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 6d 6f 6e 69 74 6f 72 0a 0a 4d 61 72 63 68 20 31 ┆Functions (3): monitor March 1┆ 0xbe0…c00 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆989 ┆ 0xc00…c1c 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 ┆