| CPC G06F 11/3466 (2013.01) [G06F 9/45558 (2013.01); G06Q 20/1235 (2013.01); G06F 2009/45591 (2013.01); G06F 2201/815 (2013.01); G06F 2201/88 (2013.01)] | 16 Claims |

|
1. A computer program product to facilitate collection of data in a virtual processing environment, the computer program product comprising:
a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
controlling by one guest of the virtual processing environment enablement of measurement relating to activities of the one guest based on a control block of a logical processor associated with the one guest;
controlling by another guest of the virtual processing environment enablement of measurement relating to activities of the another guest, based on a control block of a logical processor associated with the other guest, wherein the controlling by the one guest is independent of the controlling by the another guest, and wherein measurement is concurrently enabled for the one guest and the another guest, or enabled for one of the one guest and the another guest and not for the other of the one guest and the another guest, wherein the measurement relating to activities of the one guest and the measurement relating to the activities of the other guest accumulate activity counts of specific events that occur within hardware of the processing circuit, and wherein the one guest is suspended;
recording in a residual interval an amount of time remaining before a next sample is to be taken for the one guest;
re-dispatching the one guest;
based on re-dispatching the one guest, resuming the one guest;
performing an authorization check to determine if the one guest is still authorized to perform measurement; and
notifying the one guest if the authorization check indicates the one guest is not authorized.
|