IP Library Granted Patent US 9,760,302
Granted Patent B2
US 9,760,302 · App. 14/506,099 · Granted Sep 12, 2017

Servicing multiple counters based on a single access check

Inventors: Jane H. Bartik (Poughkeepsie, NY); Jonathan D. Bradbury (Poughkeepsie, NY); Daniel V. Rosa (Highalnd, NY); Donald W. Schmidt (Stone Ridge, NY)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F3/064G06F3/0604G06F3/0622G06F3/0673G06F9/30003G06F9/3004G06F9/3013G06F11/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,760,302
App. No.
14/506,099
Granted
Sep 12, 2017
Kind
B2
Abstract

A system and method for implementing a servicing instruction for a plurality of counters that includes determining a counter set based on the servicing instruction, whether access is authorized to the counter set, and a block of storage in a memory based on the service instruction. In response to the determining that the access is authorized, the system and method extracts the plurality of counters within the counter set in response to the determining that the access is authorized and storing the plurality of counters in the block of storage.

Claims (35)

1. A system for implementing a servicing instruction for a plurality of counters, comprising:

a processor and a memory, the processor being configured to:

determine a counter set based on the servicing instruction;

determine whether access is authorized to the counter set;

determine a block of storage in the memory based on the service instruction and in response to the determining that the access is authorized;

extract the plurality of counters within the counter set in response to the determining that the access is authorized; and

store the plurality of counters in the block of storage.

2. The system of claim 1 , wherein the service instruction includes a first operand identifying a requested number of counters and a second operand identifying an address of the block of storage.

3. The system of claim 1 , wherein the counter set is determined by a bit field of the service instruction.

4. The system of claim 1 , wherein with respect to the determination of the block storage on a memory, the processor is further configured to:

concatenate a first bit field with a second bit field to generate a number; and

add the number to a contents of a register designated by a third bit field to generate an address of the block of storage in the memory.

5. The system of claim 1 , wherein the processor is further configured to:

compare a requested number of counters as identified by the servicing instruction against a number of counters corresponding to the counter set; and

output a condition code based on the comparison.

6. The system of claim 1 , wherein the processor is further configured to:

identify an error condition with respect to the servicing instruction; and

output an interruption to exit the method.

7. A non-transitory computer readable storage medium having program instructions implementing a servicing instruction for a plurality of counters embodied therewith, the program instructions executable by a processor to cause the processor to:

determine a counter set based on the servicing instruction;

determine whether access is authorized to the counter set;

determine a block of storage in a memory based on the service instruction and in response to the determining that the access is authorized;

extract the plurality of counters within the counter set in response to the determining that the access is authorized; and

store the plurality of counters in the block of storage.

8. The non-transitory computer readable storage medium of claim 7 , wherein the service instruction includes a first operand identifying a requested number of counters and a second operand identifying an address of the block of storage.

9. The non-transitory computer readable storage medium of claim 7 , wherein the counter set is determined by a bit field of the service instruction.

10. The non-transitory computer readable storage medium of claim 7 , wherein with respect to the determination of the block storage on a memory, the program instructions are further executable by the processor to cause the processor to:

concatenate a first bit field with a second bit field to generate a number; and

add the number to a contents of a register designated by a third bit field to generate an address of the block of storage in the memory.

11. The non-transitory computer readable storage medium of claim 7 , wherein the program instructions are further executable by the processor to cause the processor to:

compare a requested number of counters as identified by the servicing instruction against a number of counters corresponding to the counter set; and

output a condition code based on the comparison.

12. The non-transitory computer readable storage medium of claim 7 , wherein the program instructions are further executable by the processor to cause the processor to:

identify an error condition with respect to the servicing instruction; and

output an interruption to exit the method.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 3, 2014
From: BARTIK, JANE H.; BRADBURY, JONATHAN D.; ROSA, DANIEL V.; SCHMIDT, DONALD W.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 033884/0471 →
Continuity (1)
Related Publication 20160098273A1 · Apr 7, 2016