DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: f

⟦a10f5cf0e⟧

    Length: 2148 (0x864)
    Names: »ftoc.1m«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat1/ftoc.1m« 

Default Hex Dump

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 55 73 65 72 20 43 6f 6d 6d 61 6e   ┆ u_ a_ l             User Comman┆
0x040…060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 74 6f 63 28 31 6d 29 0a 0a 0a 0a   ┆ds                  ftoc(1m)    ┆
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 66 74 6f 63 20 2d 20 69 6e 74 65 72 66 61 63 65 20 62 65 74 77 65 65 6e 20 70 72 6f 66 20   ┆  ftoc - interface between prof ┆
0x0a0…0c0 61 6e 64 20 63 6f 72 64 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54   ┆and cord  S S S SY Y Y YN N N NT┆
0x0c0…0e0 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 66 08 66 08 66 08   ┆ T T TA A A AX X X X      f f f ┆
0x0e0…100 66 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 20 66 69 6c 65 31 20 2e 2e 2e   ┆ft t t to o o oc c c c file1 ...┆
0x100…120 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08   ┆  D D D DE E E ES S S SC C C CR ┆
0x120…140 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08   ┆R R RI I I IP P P PT T T TI I I ┆
0x140…160 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 66 5f 08 74 5f 08 6f 5f 08   ┆IO O O ON N N N      _ f_ t_ o_ ┆
0x160…180 63 20 72 65 61 64 73 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 66 65 65 64 62 61 63 6b 20 66 69 6c   ┆c reads one or more feedback fil┆
0x180…1a0 65 73 20 70 72 6f 64 75 63 65 64 20 62 79 20 74 68 65 20 2d 08 2d 08 2d 08 2d 66 08 66 08 66 08   ┆es produced by the - - - -f f f ┆
0x1a0…1c0 66 65 08 65 08 65 08 65 65 08 65 08 65 08 65 64 08 64 08 64 08 64 2d 08 2d 08 2d 08 2d 0a 20 20   ┆fe e e ee e e ed d d d- - - -   ┆
0x1c0…1e0 20 20 20 62 08 62 08 62 08 62 61 08 61 08 61 08 61 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b 20   ┆   b b b ba a a ac c c ck k k k ┆
0x1e0…200 6f 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 72 6f 66 69 6c 65 72 20 5f 08 70 5f 08 72 5f 08 6f   ┆option of the profiler _ p_ r_ o┆
0x200…220 5f 08 66 28 31 29 20 61 6e 64 20 77 72 69 74 65 73 20 6f 6e 74 6f 20 73 74 64 6f 75 74 20 61 0a   ┆_ f(1) and writes onto stdout a ┆
0x220…240 20 20 20 20 20 72 65 6f 72 64 65 72 2d 66 69 6c 65 20 66 6f 72 20 75 73 65 20 77 69 74 68 20 74   ┆     reorder-file for use with t┆
0x240…260 68 65 20 63 61 63 68 65 2d 72 65 61 72 72 61 6e 67 69 6e 67 20 70 72 6f 67 72 61 6d 0a 20 20 20   ┆he cache-rearranging program    ┆
0x260…280 20 20 5f 08 63 5f 08 6f 5f 08 72 5f 08 64 28 31 29 2e 20 20 49 74 20 69 6e 74 65 72 70 72 65 74   ┆  _ c_ o_ r_ d(1).  It interpret┆
0x280…2a0 73 20 65 61 63 68 20 66 65 65 64 62 61 63 6b 20 66 69 6c 65 20 61 73 20 72 65 70 72 65 73 65 6e   ┆s each feedback file as represen┆
0x2a0…2c0 74 69 6e 67 0a 20 20 20 20 20 6f 6e 65 20 70 68 61 73 65 20 6f 66 20 61 20 70 72 6f 67 72 61 6d   ┆ting      one phase of a program┆
0x2c0…2e0 27 73 20 65 78 65 63 75 74 69 6f 6e 2e 20 49 6e 20 6f 74 68 65 72 20 77 6f 72 64 73 2c 20 69 66   ┆'s execution. In other words, if┆
0x2e0…300 20 61 0a 20 20 20 20 20 70 72 6f 67 72 61 6d 20 62 65 68 61 76 65 73 20 69 6e 20 74 77 6f 20 64   ┆ a      program behaves in two d┆
0x300…320 69 73 74 69 6e 63 74 20 77 61 79 73 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 69 74 73 20 69 6e   ┆istinct ways depending on its in┆
0x320…340 70 75 74 2c 0a 20 20 20 20 20 79 6f 75 20 63 6f 75 6c 64 20 63 72 65 61 74 65 20 74 77 6f 20 64   ┆put,      you could create two d┆
0x340…360 69 66 66 65 72 65 6e 74 20 66 65 65 64 62 61 63 6b 20 66 69 6c 65 73 20 62 79 20 65 78 65 63 75   ┆ifferent feedback files by execu┆
0x360…380 74 69 6e 67 0a 20 20 20 20 20 74 68 65 20 70 72 6f 67 72 61 6d 20 74 77 69 63 65 20 77 69 74 68   ┆ting      the program twice with┆
0x380…3a0 20 64 69 66 66 65 72 65 6e 74 20 69 6e 70 75 74 20 64 61 74 61 2c 20 61 6e 64 20 62 6f 74 68 20   ┆ different input data, and both ┆
0x3a0…3c0 5f 08 66 5f 08 74 5f 08 6f 5f 08 63 0a 20 20 20 20 20 61 6e 64 20 5f 08 63 5f 08 6f 5f 08 72 5f   ┆_ f_ t_ o_ c      and _ c_ o_ r_┆
0x3c0…3e0 08 64 20 77 69 6c 6c 20 75 6e 64 65 72 73 74 61 6e 64 20 74 68 61 74 20 74 68 65 20 69 6e 66 6f   ┆ d will understand that the info┆
0x3e0…400 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 74 68 65 20 66 69 72 73 74 0a 20 20 20 20 20 66 69 6c 65   ┆rmation from the first      file┆
0x400…420 20 69 73 20 64 69 73 74 69 6e 63 74 20 66 72 6f 6d 20 74 68 61 74 20 6f 66 20 74 68 65 20 73 65   ┆ is distinct from that of the se┆
0x420…440 63 6f 6e 64 20 66 69 6c 65 2e 0a 0a 20 20 20 20 20 41 73 20 61 6e 20 65 78 61 6d 70 6c 65 2c 20   ┆cond file.       As an example, ┆
0x440…460 74 6f 20 69 6d 70 72 6f 76 65 20 74 68 65 20 69 6e 73 74 72 75 63 74 69 6f 6e 2d 63 61 63 68 65   ┆to improve the instruction-cache┆
0x460…480 20 70 65 72 66 6f 72 6d 61 6e 63 65 0a 20 20 20 20 20 6f 66 20 61 20 70 72 6f 67 72 61 6d 20 63   ┆ performance      of a program c┆
0x480…4a0 61 6c 6c 65 64 20 5f 08 68 5f 08 65 5f 08 6c 5f 08 6c 5f 08 6f 2c 20 79 6f 75 20 63 6f 75 6c 64   ┆alled _ h_ e_ l_ l_ o, you could┆
0x4a0…4c0 20 67 65 6e 65 72 61 74 65 20 61 20 6e 65 77 0a 20 20 20 20 20 5f 08 68 5f 08 65 5f 08 6c 5f 08   ┆ generate a new      _ h_ e_ l_ ┆
0x4c0…4e0 6c 5f 08 6f 2e 5f 08 63 5f 08 6f 5f 08 72 5f 08 64 20 70 72 6f 67 72 61 6d 20 62 79 20 73 61 79   ┆l_ o._ c_ o_ r_ d program by say┆
0x4e0…500 69 6e 67 3a 0a 0a 20 20 20 20 20 20 20 63 63 20 2d 6f 20 68 65 6c 6c 6f 20 68 65 6c 6c 6f 2e 63   ┆ing:         cc -o hello hello.c┆
0x500…520 0a 20 20 20 20 20 20 20 70 69 78 69 65 20 2d 6f 20 68 65 6c 6c 6f 2e 70 69 78 69 65 20 68 65 6c   ┆        pixie -o hello.pixie hel┆
0x520…540 6c 6f 0a 20 20 20 20 20 20 20 68 65 6c 6c 6f 0a 20 20 20 20 20 20 20 70 72 6f 66 20 2d 70 69 78   ┆lo        hello        prof -pix┆
0x540…560 69 65 20 2d 66 65 65 64 62 61 63 6b 20 68 65 6c 6c 6f 2e 66 65 65 64 62 61 63 6b 20 68 65 6c 6c   ┆ie -feedback hello.feedback hell┆
0x560…580 6f 0a 20 20 20 20 20 20 20 66 74 6f 63 20 68 65 6c 6c 6f 2e 66 65 65 64 62 61 63 6b 20 3e 20 68   ┆o        ftoc hello.feedback > h┆
0x580…5a0 65 6c 6c 6f 2e 72 65 6f 72 64 65 72 0a 20 20 20 20 20 20 20 63 6f 72 64 20 2d 6f 20 68 65 6c 6c   ┆ello.reorder        cord -o hell┆
0x5a0…5c0 6f 2e 63 6f 72 64 20 68 65 6c 6c 6f 20 68 65 6c 6c 6f 2e 72 65 6f 72 64 65 72 0a 0a 20 20 20 20   ┆o.cord hello hello.reorder      ┆
0x5c0…5e0 20 54 68 65 20 72 65 6f 72 64 65 72 66 69 6c 65 20 63 6f 6e 73 69 73 74 73 20 6f 66 20 61 20 6c   ┆ The reorderfile consists of a l┆
0x5e0…600 69 73 74 20 6f 66 20 6c 69 6e 65 73 20 6f 66 20 74 68 65 20 66 6f 72 6d 3a 0a 0a 20 20 20 20 20   ┆ist of lines of the form:       ┆
0x600…620 20 20 73 6f 75 72 63 65 66 69 6c 65 20 70 72 6f 63 6e 61 6d 65 2e 70 72 6f 63 6e 61 6d 65 2e 2e   ┆  sourcefile procname.procname..┆
0x620…640 2e 20 6e 0a 0a 20 20 20 20 20 77 68 65 72 65 20 22 70 72 6f 63 6e 61 6d 65 2e 70 72 6f 63 6e 61   ┆. n       where "procname.procna┆
0x640…660 6d 65 2e 2e 2e 22 20 72 65 70 72 65 73 65 6e 74 73 20 61 6e 20 6f 75 74 65 72 2d 74 6f 2d 69 6e   ┆me..." represents an outer-to-in┆
0x660…680 6e 65 72 0a 20 20 20 20 20 6c 69 73 74 20 6f 66 20 6e 65 73 74 65 64 20 70 72 6f 63 65 64 75 72   ┆ner      list of nested procedur┆
0x680…6a0 65 73 2c 20 61 6e 64 20 5f 08 6e 20 69 73 20 31 30 20 74 69 6d 65 73 20 74 68 65 20 70 65 72 63   ┆es, and _ n is 10 times the perc┆
0x6a0…6c0 65 6e 74 61 67 65 0a 20 20 20 20 20 6f 66 20 74 68 65 20 70 72 6f 63 65 64 75 72 65 27 73 20 22   ┆entage      of the procedure's "┆
0x6c0…6e0 64 65 6e 73 69 74 79 22 20 77 69 74 68 20 72 65 73 70 65 63 74 20 74 6f 20 74 68 65 20 74 6f 74   ┆density" with respect to the tot┆
0x6e0…700 61 6c 20 6f 66 0a 20 20 20 20 20 74 68 65 20 64 65 6e 73 69 74 69 65 73 20 6f 66 20 61 6c 6c 20   ┆al of      the densities of all ┆
0x700…720 70 72 6f 63 65 64 75 72 65 73 2e 20 28 22 44 65 6e 73 69 74 79 22 20 69 73 20 74 68 65 20 72 61   ┆procedures. ("Density" is the ra┆
0x720…740 74 69 6f 20 6f 66 0a 20 20 20 20 20 61 20 70 72 6f 63 65 64 75 72 65 27 73 20 74 6f 74 61 6c 20   ┆tio of      a procedure's total ┆
0x740…760 63 79 63 6c 65 73 20 74 6f 20 69 74 73 20 74 6f 74 61 6c 20 73 74 61 74 69 63 20 69 6e 73 74 72   ┆cycles to its total static instr┆
0x760…780 75 63 2d 0a 20 20 20 20 20 74 69 6f 6e 73 2e 29 20 41 20 6c 69 6e 65 20 63 6f 6e 73 69 73 74 69   ┆uc-      tions.) A line consisti┆
0x780…7a0 6e 67 20 6f 66 20 22 24 70 68 61 73 65 22 20 73 65 70 61 72 61 74 65 73 20 69 6e 66 6f 72 6d 61   ┆ng of "$phase" separates informa┆
0x7a0…7c0 74 69 6f 6e 0a 20 20 20 20 20 66 72 6f 6d 20 64 69 66 66 65 72 65 6e 74 20 66 65 65 64 62 61 63   ┆tion      from different feedbac┆
0x7c0…7e0 6b 20 66 69 6c 65 73 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20   ┆k files.  S S S SE E E EE E E E ┆
0x7e0…800 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20   ┆A A A AL L L LS S S SO O O O    ┆
0x800…820 20 20 63 6f 72 64 28 31 29 2c 20 70 72 6f 66 28 31 29 0a 0a 0a 0a 4d 61 72 63 68 20 31 39 38 39   ┆  cord(1), prof(1)    March 1989┆
0x820…840 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 20 20 20   ┆                                ┆
0x840…860 20 20 20 20 54 58 20 55 73 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆    TX User's Reference         ┆
0x860…864 0a 0a 0a 0a                                                                                       ┆    ┆