Home
last modified time | relevance | path

Searched refs:pt_cpu (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/acct/
H A Dacctprc.c95 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; in main()
96 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; in main()
97 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; in main()
132 ub->ut_cpu[0] = MINT(p->pt_cpu[0]); in enter()
133 ub->ut_cpu[1] = MINT(p->pt_cpu[1]); in enter()
135 ub->ut_kcore[0] = memk * MINT(p->pt_cpu[0]); in enter()
136 ub->ut_kcore[1] = memk * MINT(p->pt_cpu[1]); in enter()
146 (*pt)->ut_cpu[0] += MINT(p->pt_cpu[0]); in enter()
147 (*pt)->ut_cpu[1] += MINT(p->pt_cpu[1]); in enter()
148 (*pt)->ut_kcore[0] += memk * MINT(p->pt_cpu[0]); in enter()
[all …]
H A Dacctprc2.c69 &pb.pt_cpu[0], &pb.pt_cpu[1], in main()
106 ub->ut_cpu[0] = MINT(p->pt_cpu[0]); in enter()
107 ub->ut_cpu[1] = MINT(p->pt_cpu[1]); in enter()
109 ub->ut_kcore[0] = memk * MINT(p->pt_cpu[0]); in enter()
110 ub->ut_kcore[1] = memk * MINT(p->pt_cpu[1]); in enter()
120 (*pt)->ut_cpu[0] += MINT(p->pt_cpu[0]); in enter()
121 (*pt)->ut_cpu[1] += MINT(p->pt_cpu[1]); in enter()
122 (*pt)->ut_kcore[0] += memk * MINT(p->pt_cpu[0]); in enter()
123 (*pt)->ut_kcore[1] += memk * MINT(p->pt_cpu[1]); in enter()
H A Dacctprc1.c139 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime; in main()
140 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0; in main()
141 pb.pt_cpu[1] = stime - pb.pt_cpu[0]; in main()
150 pb.pt_cpu[0], pb.pt_cpu[1], in main()
H A Dacctdef.h159 ulong_t pt_cpu[2]; /* CPU (sys+usr) P/NP time tics */ member