US 12,298,882 B2
Virtualization of a central processing unit measurement facility
Lisa Cranton Heller, Rhinebeck, NY (US); Patrick M. West, Jr., Waukesha, WI (US); and Phil C. Yeh, Poughkeepsoe, NY (US)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on May 7, 2021, as Appl. No. 17/314,179.
Application 17/314,179 is a continuation of application No. 15/228,817, filed on Aug. 4, 2016, granted, now 11,036,611.
Application 15/228,817 is a continuation of application No. 12/244,496, filed on Oct. 2, 2008, granted, now 9,449,314, issued on Sep. 20, 2016.
Prior Publication US 2021/0263829 A1, Aug. 26, 2021
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 11/34 (2006.01); G06F 9/455 (2018.01); G06Q 20/12 (2012.01)
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
OG exemplary drawing
 
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.