Displaying 4 results from an estimated 4 matches for "cpu_t".
2007 Feb 21
6
CPU stats problem
HI there,
I?ve discovered DTrace few days ago and I?m currently stuck on a cpu stats problem. I?m trying to poll the cpu_t.cpu_acct[] array to pull idle, system and user values.
So, I made this little script:
------------------------------------------------------------------------------------------------------
#!/usr/sbin/dtrace -s
#pragma D option quiet
this uint64_t start;
this hrtime_t timeidle;
this hrtime_t ti...
2010 Jul 01
1
[LLVMdev] The question about how to refer an element in a pointer array by a dynamic index by IR
...hen try to write some IR to express writting
a value to the reigster.
The situation is described as the following description.
write_reg is my function for writing "v" to the register indicated by
"index". ptr_gpr is the struct pointer for my general register file.
write_reg(cpu_t *cpu, uint32_t index, Value *v,BasicBlock *bb ){
Value **regs = cpu->ptr_gpr;
}
If index do not need to do any runtime calculation, I can write the
following sentence to fulfil my requirement.
new StoreInst(v, regs[index], bb);
But if I need to do some runtime calculation for index su...
2007 Jan 22
5
Final Xen SMF fast-track
...e used for physical
partitioning of CPUs between the control domain and other domains. Note
that this option does not change how many virtual CPUs dom0 has, which
by default is equal to the number of physical CPUs (where physical
corresponds with the Solaris kernel''s notion of a cpu_t).
6. Security issues
Currently, as on other platforms, all of these daemons run as root with
full privileges. Further work is underway to utilise least privilege and
other Solaris security technologies to improve this situation.
Additionally, the community is working on authen...
2007 Mar 06
16
2007/128 SMF services for Xen
...e used for physical
partitioning of CPUs between the control domain and other domains. Note
that this option does not change how many virtual CPUs dom0 has, which
by default is equal to the number of physical CPUs (where physical
corresponds with the Solaris kernel''s notion of a cpu_t).
6. Security issues
Currently, as on other platforms, all of these daemons run as root with
full privileges. Further work is underway to utilise least privilege and
other Solaris security technologies to improve this situation.
Additionally, the community is working on authen...