search for: adom

Displaying 4 results from an estimated 4 matches for "adom".

Did you mean: adam
2007 May 04
0
[PATCH] 3/4 "nemesis" scheduling domains for Xen
...mctl.u.shadow_op.stats, sizeof(xc_shadow_op_stats_t)); - - if ( mb ) + + if ( mb ) *mb = domctl.u.shadow_op.mb; return (rc == 0) ? domctl.u.shadow_op.pages : rc; @@ -696,6 +696,79 @@ int xc_get_hvm_param(int handle, domid_t return rc; } +int xc_add_adom(int handle, domid_t adom, domid_t sdom, uint16_t *reason) +{ + int ret; + + DECLARE_DOMCTL; + + domctl.cmd = XEN_DOMCTL_scheduler_op; + domctl.u.scheduler_op.cmd = XEN_DOMCTL_SCHEDOP_sdom; + domctl.u.scheduler_op.u.sdom.op = SDOM_add_adom; + domctl.u.scheduler_op.u.sdom.adom = ado...
2001 Jul 10
0
speeding up aperm/ adding repmat
...In general, we can implement this by making B the same size as A by replicating its entries, then permuting the dimensions so they match A's, and then doing element-wise multiplication. Here is the R code: B2 <- array(B, Asz) # duplicate elements of B to make it same size as A diffdom <- Adom[-Bdom] # Adom \ Bdom B2dom <- c(Bdom, diffdom) perm <- match(Adom, B2dom) B3 <- aperm(B2, perm) # make B2 have the same order as A (VERY SLOW) C <- A * B3 In Matlab, there is a quicker way, using 'reshape' and 'repmat': one can reshape B to have the same number of dimen...
2009 Jan 28
2
For Whom the Gaza Bell Tolls -- Part 1 and 2 -- Obama’s Mideast Jewish Wet Dream Team
..., a 43-year-old philosophy student, says seeing the violence up close ?is a kind of catharsis for me, to get rid of all the anxiety we have inside us after years of rocket fire? from Hamas.? Perhaps most pointedly comes the testimony of one Jocelyn Znaty, ?a stout 60-year-old nurse for Magen David Adom, the Israeli counterpart of the Red Cross,? who could ?hardly contain her glee at the site of exploding mortars below in Gaza.? "Look at that," she shouts, clapping her hands as four artillery rounds pound the territory in quick succession. "Bravo! Bravo!" . . . I am sorry, but...
2009 Jan 28
2
For Whom the Gaza Bell Tolls -- Part 1 and 2 -- Obama’s Mideast Jewish Wet Dream Team
..., a 43-year-old philosophy student, says seeing the violence up close ?is a kind of catharsis for me, to get rid of all the anxiety we have inside us after years of rocket fire? from Hamas.? Perhaps most pointedly comes the testimony of one Jocelyn Znaty, ?a stout 60-year-old nurse for Magen David Adom, the Israeli counterpart of the Red Cross,? who could ?hardly contain her glee at the site of exploding mortars below in Gaza.? "Look at that," she shouts, clapping her hands as four artillery rounds pound the territory in quick succession. "Bravo! Bravo!" . . . I am sorry, but...