Counter functions in an application program interface for network devices
First Claim
Patent Images
1. A method performed by an application program interface (API), the method comprising:
- reading a count value from a hardware counter in a network device;
resetting the hardware counter; and
updating a software counter with the count value, said software counter being stored in a memory location in a memory, said memory location corresponding to the hardware counter, and said memory being accessible both by the API and an application program using the API.
6 Assignments
0 Petitions
Accused Products
Abstract
Application program interface (API) reads a count value from a hardware counter in a network device. Then, the API resets the hardware counter and uses the count value to update a software counter. The software counter is stored in a memory location corresponding to the hardware counter. The memory is accessible both by the API and an application program using the API.
-
Citations
48 Claims
-
1. A method performed by an application program interface (API), the method comprising:
-
reading a count value from a hardware counter in a network device;
resetting the hardware counter; and
updating a software counter with the count value, said software counter being stored in a memory location in a memory, said memory location corresponding to the hardware counter, and said memory being accessible both by the API and an application program using the API. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An application program interface (API) apparatus comprising:
-
means for reading a count value from a hardware counter in a network device;
means for resetting the hardware counter; and
means for updating a software counter with the count value, said software counter being stored in a memory location in a memory, said memory location corresponding to the hardware counter, and said memory being accessible both by the API and an application program using the API. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. A machine readable medium having stored thereon machine executable instructions that when executed implement a method comprising:
-
reading a count value from a hardware counter in a network device;
resetting the hardware counter; and
updating a software counter with the count value, said software counter being stored in a memory location in a memory, said memory location corresponding to the hardware counter, and said memory being accessible both by the API and an application program using the API. - View Dependent Claims (38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48)
-
Specification