US20080229138A1 - Directly obtaining by application programs information usable in determining clock accuracy - Google Patents

Directly obtaining by application programs information usable in determining clock accuracy Download PDF

Info

Publication number
US20080229138A1
US20080229138A1 US12130022 US13002208A US2008229138A1 US 20080229138 A1 US20080229138 A1 US 20080229138A1 US 12130022 US12130022 US 12130022 US 13002208 A US13002208 A US 13002208A US 2008229138 A1 US2008229138 A1 US 2008229138A1
Authority
US
Grant status
Application
Patent type
Prior art keywords
time
information
application program
processing
processing environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US12130022
Inventor
Ronald M. Smith
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 – G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock

Abstract

Information usable in determining the quality of time produced by a clock of a processing environment is obtained. The information is obtained directly by an application program absent use of a supervisor service, such as an operating system or operating system service. The application program invokes an instruction that returns a parameter block that includes the information.

Description

    CROSS REFERENCE TO RELATED APPLICATION
  • This application is a continuation of co-pending U.S. Patent Application Ser. No. 11/460,025, filed Jul. 26, 2006, entitled “Directly Obtaining by Application Programs Information Usable in Determining Clock Accuracy”, by Ronald M. Smith, Sr., the entirety of which is hereby incorporated herein by reference.
  • TECHNICAL FIELD
  • This invention relates, in general, to timing facilities of processing environments, and in particular, to obtaining information useful in determining the quality of time produced by the timing facilities.
  • BACKGROUND OF THE INVENTION
  • Processing environments have various timing facilities, including time of day (TOD) clocks that are used to provide a high resolution measure of real time suitable for the indication of date and time of day. Processes within a processing environment rely on the time produced by these timing facilities to ensure reliable and accurate execution of the processes within the processing environment.
  • Various protocols have been developed to handle different aspects relating to the timing facilities. For example, time protocols have been developed to manage the synchronization of time between different clocks within and outside of the processing environment.
  • As a further example, protocols have been developed that enable control programs (e.g., non-application level programs) to obtain information concerning the quality of time produced by the timing facilities. For instance, in the current zSeries® servers, offered by International Business Machines Corporation, the LPAR hypervisor has direct access to time quality information. However, this information is not directly available to application programs. If an application program desires this information, it invokes supervisor services to obtain the information. This is costly, inefficient, and requires additional overhead.
  • SUMMARY OF THE INVENTION
  • Based on the foregoing, a need exists for an efficient mechanism to enable application programs to directly obtain time quality information. For example, a need exists for a capability that enables application programs to directly access, without use of supervisor services, information usable in determining the accuracy of time values relative to Coordinated Universal Time (UTC).
  • The shortcomings of the prior art are overcome and additional advantages are provided through the provision of a method of facilitating a determination of the quality of time produced by clocks of processing environments. The method includes, for instance, providing by a clock of a processing environment a time value; and obtaining, by an application program of the processing environment, information usable in determining the accuracy of the time value relative to an external time standard, wherein the information is obtained by the application program absent use of a supervisor service.
  • System and computer program products corresponding to the above-summarized method are also described and claimed herein.
  • Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • One or more aspects of the present invention are particularly pointed out and distinctly claimed as examples in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
  • FIG. 1A depicts one embodiment of a processing environment to incorporate and use one or more aspects of the present invention;
  • FIG. 1B depicts further details of a processing unit of FIG. 1A, in accordance with an aspect of the present invention;
  • FIG. 2 depicts one embodiment of the logic associated with obtaining information regarding the quality of time values produced by timing facilities of a processing environment, in accordance with an aspect of the present invention;
  • FIG. 3A depicts one embodiment of a format of an instruction used in obtaining information usable in determining the quality of time values, in accordance with an aspect of the present invention;
  • FIG. 3B depicts one embodiment of a general register used by the instruction of FIG. 3A that specifies the function to be performed by the instruction, in accordance with an aspect of the present invention;
  • FIG. 3C depicts one embodiment of another register used by the instruction of FIG. 3A that specifies an address of a parameter block returned by the instruction, in accordance with an aspect of the present invention;
  • FIG. 4 depicts one embodiment of the fields of the parameter block returned by the instruction, in accordance with an aspect of the present invention; and
  • FIG. 5 depicts one embodiment of a computer program product incorporating one or more aspects of the present invention.
  • BEST MODE FOR CARRYING OUT THE INVENTION
  • In accordance with an aspect of the present invention, a capability is provided for facilitating the determination of the quality of time provided by timing facilities of a processing environment. For example, information is obtained that is usable in determining the accuracy of time values provided by a clock (e.g., a time of day (TOD) clock) of the processing environment relative to an external time standard, such as Coordinated Universal Time (UTC). This information is obtained directly by an application program, without the application program needing to invoke or use a supervisor service. As used herein, a supervisor service includes any non-application level program or service, including, for instance, an operating system, a control program, an operating system service, a hypervisor, etc. The application program does not communicate with the supervisor service to obtain this information (i.e., obtain a control block including the information).
  • One example of a processing environment to incorporate and use one or more aspects of the present invention is described with reference to FIG. 1A. In this particular example, the processing environment is based on the z/Architecture, offered by International Business Machines Corporation, Armonk, N.Y., which is described in “z/Architecture—Principles of Operation”, SA22-7932-04, Fifth Edition, September 2005, which is hereby incorporated herein by reference in its entirety.
  • A processing environment 100 includes, for instance, a processing unit 102 coupled to another processing unit 104 via a connection 106. Each processing unit is, for instance, a zSeries® server, offered by International Business Machines Corporation (IBM®). Connection 106 includes, for instance, one or more links, such as InterSystem Channel (ISC) links or Integrated Cluster Bus (ICB) links, offered by International Business Machines Corporation. In one example, the links employ a Server Time Protocol (STP), also offered by International Business Machines Corporation, to allow timing information to be passed between the processing units. IBM® and zSeries® are registered trademarks of International Business Machines Corporation, Armonk, N.Y., U.S.A. Other names used herein may be registered trademarks, trademarks or product names of International Business Machines Corporation or other companies.
  • Each processing unit includes, for example, a central processing unit 110 (FIG. 1B), memory 112 and one or more input/output devices 114 coupled to one another via one or more connections 116, e.g., one or more system buses. Central processing unit 110 includes a clock 120 (e.g., a time of day (TOD) clock) used to provide timing functions for the central processing unit. Further, a portion of memory 112 includes a hardware system timing area 122, which is used by the hardware (e.g., millicode) to maintain timing information.
  • In this example in which multiple processing units are coupled to one another and each has its own clock, one of the clocks is selected to provide Coordinated Server Time (CST). This clock is relied upon in the processing environment to facilitate synchronization, etc. Further, this clock is useful in determining the quality of time produced by one or more of the clocks, as described below.
  • In accordance with an aspect of the present invention, information usable in determining the quality of timing information produced by a clock of the processing environment is obtained by an application program without the application program calling or using a supervisor service. The application program issues a request for the information (referred to herein as quality information), STEP 200 (FIG. 2), and in response to this request, the information is provided to the application program, STEP 202.
  • The request is made, in one example, via an instruction, which is further responsible for returning the information to the requesting application. This instruction, referred to herein as Perform Timing Facility Function (PTFF), is described in further detail with reference to FIGS. 3A-3C. Additional details are also described in U.S. patent Ser. No. 11/223,886 entitled “System and Method for TOD-Clock Steering”, Engler et al., filed Sep. 9, 2005, which is hereby incorporated herein by reference in its entirety.
  • Referring to FIG. 3A, the Perform Timing Facility Function is specified by an operation code 300, and it uses two implied operands, general register 0 (310, FIG. 3B) and general register 1 (320, FIG. 3C). General register 0 includes a function code 312 that specifies the function to be performed by the instruction. Although a number of different function codes can be specified, in accordance with an aspect of the present invention, the function code specified is a query coordinated universal time information (QUI) function code.
  • The PTTF-QUI function obtains information usable in determining the quality of time values produced by a clock of a central processor. In one example, the function locates the desired information in hardware system timing area 122 and places the information in a parameter block. The information in the hardware system timing area is continuously updated (e.g., every 64 ms) by the hardware of the processing environment, irrespective of whether a request is being made for the information. In particular, in one example, a timing network, such as STP, is used to transmit timing information between the various processing units of the processing environment. The hardware (e.g., millicode) of the environment uses this information and/or other information within the processing environment to update the information in the hardware system timing area. This information is then available for use by the PTFF-QUI function.
  • In response to invoking the instruction, the PTTF-QUI function selects the desired information from the hardware system timing area and places the information in the parameter block specified by the application program. The parameter block is located in memory by an address 322 (FIG. 3C) specified in general register 1. This parameter block, referred to as a UTC information block (UIB), is directly accessible by the application program, and includes information usable in determining the accuracy of time values produced by a selected clock relative to Coordinal Universal Time (UTC).
  • One embodiment of the fields included in a UIB are described with reference to FIG. 4. A UIB 400 includes, for instance:
      • a) System Timing Mode 402—This field indicates the timing mode of the system. Valid timing modes for IBM's z/Architecture include, for instance, local timing mode, ETR (External Time Reference) timing mode, STP timing mode;
      • b) System Timing State 404—This field indicates the timing state of the system. Examples of timing state include unsynchronized and synchronized;
      • c) Maximum Skew Rate 406—This field includes a value indicating the absolute value of the unknown skew rate of the physical clock. This value has a resolution of, for instance, one part per 244. The maximum skew rate field is valid when it is non-zero.
      • d) Leap Seconds Update Event Time 408—This field includes a value indicating the primary reference time (PRT) at which the new leap seconds value takes effect. The new leap seconds field is valid when, for instance, this field is non-zero. As is known, primary reference time is a standardized time provided by a chosen clock located, for instance, in Fort Collins, Colo. (or in other designated locations). It is a clock separate from the TOD clock, and used as a reference clock (e.g., to set other clocks, determine accuracy of other clocks, etc.).
      • e) Old Leap Seconds 410—This field includes a value indicating the number of leap seconds in effect prior to the leap seconds update event. Thus, when the leap seconds update event time is non-zero, the old leap seconds value is in effect for a primary reference time less than the leap seconds update event time. When the leap seconds update event time is zero, the old leap seconds value is currently in effect and no change has been scheduled. The value is provided in seconds with the low order bit equaling one second, as one example.
      • f) New Leap Seconds 412—This field includes a value indicating the number of leap seconds in effect for a primary reference time equal to or greater than the leap seconds update event time. The value is provided in seconds with the low order bit equaling one second, as one example. The new leap seconds field is valid when the leap seconds update event time is non-zero.
      • g) PRT Update Event Time 414—This field includes a value indicating the value of CST (coordinated server time (Tq)) at the most recent time that the PRT parameters (e.g., PRT CST dispersion, PRT CST offset, PRT correction start time, and estimated PRT correction duration) were updated. The PRT update event time field is valid when it is non-zero.
      • h) PRT CST Dispersion 416—This field includes a value indicating the PRT CST dispersion computed at the most recent PRT update event. This value is, for instance, in clock units, and as such, a specified bit of the field (e.g., bit 63) has a resolution equal to a corresponding specified bit of the time of day clock.
      • i) PRT CST Offset 418—This field includes a value indicating the PRT CST offset computed at the most recent PRT update event. The value is, for instance, in clock units, and as such, a specified bit (e.g., bit 63) has a resolution equal to a corresponding specified bit of the time of day clock. The PRT CST offset added to coordinated server time (CST), ignoring a carry, if any, out of a specified bit (e.g., bit zero), forms primary reference time (PRT).
      • j) PRT Correction Start Time 420—This field includes a value indicating the time at which the PRT correction steering is initiated.
      • k) Estimated PRT Correction Duration 422—This field includes a value indicating the estimated length of time required to steer out the PRT CST offset. The value is, for instance, in clock units, and as such, a specified bit (e.g., bit 63) has a resolution equal to a corresponding specified bit of the TOD clock.
      • l) CST Update Event Time 424—This field includes a value indicating the value of the basic machine TOD clock (Tb) at the most recent time that the CST parameters (e.g., CST TOD dispersion and CST TOD offset) were updated.
      • m) CST TOD Dispersion 426—This field includes a value indicating the CST TOD dispersion computed at the most recent CST update event. This value is, for instance, in clock units, and as such, a specified bit of this value (e.g., bit 63) has a resolution equal to a corresponding specified bit of the time of day clock.
      • n) CST TOD Offset 428—This field includes a value indicating the CST TOD offset computed at the most recent CST update event. This value is, for instance, in clock units, and as such, a specified bit of this field (e.g., bit 63) has a resolution equal to a corresponding specified bit of the time of day clock. The CST TOD offset added to the basic machine time of day clock, ignoring a carry, if any, out of a defined bit (e.g., bit 0), forms coordinated server time.
  • UIB 400 includes information to convert from a time of day clock timestamp to primary reference time (PRT), and then from PRT to Coordinated Universal Time (UTC). The time of day clock timestamp is, for instance, a 64 bit unsigned binary number indicating the number of clock units since the TOD clock epoch.
  • Examples of how to convert from TOD to PRT, and from PRT to UTC are described below. In the examples, the following abbreviations and symbols are used:
  • Symbol Meaning
    Figure US20080229138A1-20080918-P00001
    Maximum Skew Rate in dimensionless units.
    C Estimated PRT-Correction Duration
    CST Coordinated Server Time
    Dqb(T) CST-TOD Offset at time T
    Dqb(U) CST-TOD Offset at time U
    Dzb(T) PRT-TOD Offset at time T
    Dzq(T) PRT-CST Offset at time T
    Dzq(V) PRT-CST Offset at time V
    Eqb(T) CST-TOD Dispersion at time T
    Eqb(U) CST-TOD Dispersion at time U
    Ezb(T) PRT-TOD Dispersion at time T
    Ezq(T) PRT-CST Dispersion at time T
    Ezq(V) PRT-CST Dispersion at time Vq
    J(T) PRT-CST-Offset Correction at time T
    MSR Maximum Skew Rate
    PRT Primary Reference time
    PRT corresponds to TAI - 10 seconds and is in ETR-
    timestamp format.
    T Time in mathematical units
    Tb Time T represented in basic-machine TOD clock epoch
    Tq Time T represented in CST epoch
    Tz Time T represented in PRT epoch
    TAI International Atomic Time
    U CST-Update-Event Time in mathematical units
    Ub CST-Update-Event Time (in Tb epoch)
    UTC Coordinated Universal Time
    V PRT-Update-Event Time in mathematical units
    Vq PRT-Update-Event Time (in Tq epoch)
    W PRT-Correction Start Time in mathematical units
    Wq PRT-Correction Start Time (in Tq epoch)
  • To convert from a TOD clock timestamp to primary reference time, the following fields of the UIB are employed, in one embodiment:
  • Symbol Field
    MSR Maximum Skew Rate
    Ub CST Update Event Time (in Tb epoch)
    Eqb(U) CST TOD Dispersion at time U
    Dqb(U) CST TOD Offset at time U
    Vq PRT Update Event time (in Tq epoch)
    Ezq(V) PRT CST Dispersion at time V
    Dzq(V) PRT CST Offset at time V
    Wq PRT Correction Start Time (in Tq epoch)
    C Estimated PRT Correction Duration
  • In general, this conversion is represented by Tz=Tb+Dzb±Ezb, where Tb is a time value (e.g., 64-bit TOD value) obtained by issuing a STORE CLOCK instruction in the basic machine (or otherwise obtaining the TOD), Tz is the most likely corresponding primary reference time value, Dzb is the offset between Tz and Tb, and Ezb is the error bound (dispersion) for Tz.
  • More specifically, the conversion is computed, as follows: Tb+Dzb(T)−Ezb(T)[Tz[Tb+Dzb(T)+Ezb(T), where Dzb(T) and Ezq(T) are the PRT TOD Offset and PRT TOD Dispersion, respectively, at time T.
  • Expanding, the above inequalities become:

  • Tb+Dzq(V)−J(T)+Dqb(U)−Ezq(V)−Eqb(U)−
    Figure US20080229138A1-20080918-P00002
    *(T−V)[Tz

  • Tz[Tb+Dzq(V)−J(T)+Dqb(U)+Ezq(V)+Eqb(U)+
    Figure US20080229138A1-20080918-P00002
    *(T−V)
  • This expansion is based on the following:
  • Let:

  • Figure US20080229138A1-20080918-P00002
    =MSR*2−44

  • Then:

  • Ezb(T)[Ezq(V)+Eqb(U)+
    Figure US20080229138A1-20080918-P00002
    *(T−V)

  • Given:

  • V[U[T

  • And:

  • For V[T[W: J(T)=0

  • For W[T[W+C: J(T)=Dzq(V)*(T−W)/C

  • For W+C[T: J(T)=Dzq(V)

  • Then:

  • Dzb(T)=Dzq(V)−J(T)+Dqb(U)
  • To convert from primary reference time to UTC, in one embodiment, the following fields in the UIB are used: leap seconds update event time, old leap seconds, and new leap seconds fields. For a primary reference time less than the leap seconds update event time, the old leap seconds value applies; for a primary reference time equal to or greater than the leap seconds update event time, the new leap seconds value applies. The applicable leap second value is added to UTC to form primary reference time (PRT).
  • Described in detail above is a capability for efficiently obtaining information, directly by an application program, that is usable in determining the quality of time in relation to Coordinated Universal Time.
  • One or more aspects of the present invention can be included in an article of manufacture (e.g., one or more computer program products) having, for instance, computer useable media. The media has therein, for instance, computer readable program code means of logic (e.g., instructions, code, commands, etc.) to provide and facilitate the capabilities of the present invention. The article of manufacture can be included as a part of a computer system or sold separately.
  • One example of an article of manufacture or a computer program product incorporating one or more aspects of the present invention is described with reference to FIG. 5. A computer program product 500 includes, for instance, one or more computer usable media 502 to store computer readable program code means or logic 504 thereon to provide and facilitate one or more aspects of the present invention. The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
  • A sequence of program instructions or a logical assembly of one or more interrelated modules defined by one or more computer readable program code means or logic direct the performance of one ore more aspects of the present invention.
  • Advantageously, an application program is able to directly obtain information usable in determining the quality of time without having to invoke a supervisor service. This enables the information to be obtained more efficiently and more cost effectively.
  • Although various embodiments are described above, these are only examples. One or more variations can be made without departing from the spirit of the present invention. For instance, the processing environment may include only one processing unit or more than two processing units. Further, in yet another embodiment, one or more of the processing units is a central processing complex having one or more central processors, each central processor having a TOD clock. The central processor complex is logically partitioned, in one example, and includes one or more logical partitions. Further, processing environments based on architectures other than the z/Architecture can include one or more aspects of the present invention. Additionally, one or more of the processing units may be other than a z/Series® server. Yet further, information may be obtained relating to system clocks other than time of day clocks. Also, the timing information can be stored in areas of memory other than the hardware system timing area, or in storage.
  • Although in the example above, an instruction is performed in order to request and obtain the quality of time information, in other embodiments, an instruction may not be used. Yet further, in another example, one instruction may be used to invoke the request and another instruction may provide the requested information. Further, the term parameter block is not meant to be limiting in any way. Any type of block or data structure can be used to return the information. Yet further, the external time reference may be a reference other than Coordinated Universal Time. Further, although various fields and parameters are described, many variations are possible with these fields and parameters. Many other variations are also possible.
  • Again, although various embodiments are described herein, these are not meant to limit the scope of the present invention. Many variations may be made without departing from the spirit of the present invention.
  • As a further embodiment, an environment may include an emulator (e.g., software or other emulation mechanisms), in which a particular architecture or subset thereof is emulated. In such an environment, one or more emulation functions of the emulator can implement one or more aspects of the present invention, even though a computer executing the emulator may have a different architecture than the capabilities being emulated. As one example, in emulation mode, the specific instruction or operation being emulated is decoded, and an appropriate emulation function is built to implement the individual instruction or operation.
  • In an emulation environment, a host computer includes, for instance, a memory to store instructions and data; an instruction fetch unit to fetch instructions from memory and to optionally, provide local buffering for the fetched instruction; an instruction decode unit to receive the instruction fetch unit and to determine the type of instructions that have been fetched; and an instruction execution unit to execute the instructions. Execution may include loading data into a register for memory; storing data back to memory from a register; or performing some type of arithmetic or logical operation, as determined by the decode unit. In one example, each unit is implemented in software. For instance, the operations being performed by the units are implemented as one or more subroutines within emulator software.
  • Further, a data processing system suitable for storing and/or executing program code is usable that includes at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements include, for instance, local memory employed during actual execution of the program code, bulk storage, and cache memory which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
  • Input/Output or I/O devices (including, but not limited to, keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers. Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modems, and Ethernet cards are just a few of the available types of network adapters.
  • The capabilities of one or more aspects of the present invention can be implemented in software, firmware, hardware, or some combination thereof. At least one program storage device readable by a machine embodying at least one program of instructions executable by the machine to perform the capabilities of the present invention can be provided.
  • The flow diagrams depicted herein are just examples. There may be many variations to these diagrams or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order, or steps may be added, deleted, or modified. All of these variations are considered a part of the claimed invention.
  • Although preferred embodiments have been depicted and described in detail there, it will be apparent to those skilled in the relevant art that various modifications, additions, substitutions and the like can be made without departing from the spirit of the invention and these are therefore considered to be within the scope of the invention as defined in the following claims.

Claims (7)

  1. 1. A system of facilitating a determination of the quality of time produced by clocks of processing environments, said system comprising:
    a clock of a central processor of the processing environment providing a current time value; and
    hardware of the processing environment continuously updating the current time value, the processing environment comprising a supervisor service processing layer and an application program processing layer; and
    an application program running within the application program processing layer of the processing environment, the application program issuing a request for information usable in determining the accuracy of the time value relative to an external time standard, the request being made via a perform timing facility function instruction, wherein execution of the perform timing facility function selects desired information and places the information in a parameter block specified by the application program, the parameter block being located in memory of the processing environment at an address specified in a general register by the perform timing facility function instruction, the parameter block being directly accessible by the application program, and wherein the information is obtained by the application program absent use of a supervisor service of the supervisor service processing layer.
  2. 2. The system of claim 1, wherein the information includes information usable in converting the time value to a primary reference time.
  3. 3. The system of claim 2, wherein the external time standard comprises Coordinated Universal Time, and wherein the information further includes information usable in converting the primary reference time to the Coordinated Universal Time.
  4. 4. An article of manufacture comprising:
    at least one computer readable memory having computer readable program code logic to facilitate a determination of the quality of time produced by clocks of processing environments, the computer readable program code logic comprising:
    provide logic, to provide by a clock of a central processor of the processing environment, a current time value and continuously update the current time value, the processing environment comprising a supervisor service processing layer and an application program processing layer; and
    issue logic to issue a request, by an application program running within the application program processing layer of the processing environment, for information usable in determining the accuracy of the time value relative to an external time standard, the request being made via a perform timing facility function instruction, wherein execution of the perform timing facility function selects desired information and places the information in a parameter block specified by the application program, the parameter block being located in memory of the processing environment at and address specified in a general register by the perform timing facility function instruction, the parameter block being directly accessible by the application program, and wherein the information is obtained by the application program absent use of a supervisor service of the supervisor service processing layer.
  5. 5. The article of manufacture of claim 4, wherein the information includes information usable in converting the time value to a primary reference time.
  6. 6. The article of manufacture of claim 5, wherein the external time standard comprises Coordinated Universal Time, and wherein the information further includes information usable in converting the primary reference time to the Coordinated Universal Time.
  7. 7. The article of manufacture of claim 4, wherein the clock comprises a time of day (TOD) clock of a processor of the processing environment.
US12130022 2006-07-26 2008-05-30 Directly obtaining by application programs information usable in determining clock accuracy Abandoned US20080229138A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US11460025 US7395448B2 (en) 2006-07-26 2006-07-26 Directly obtaining by application programs information usable in determining clock accuracy
US12130022 US20080229138A1 (en) 2006-07-26 2008-05-30 Directly obtaining by application programs information usable in determining clock accuracy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US12130022 US20080229138A1 (en) 2006-07-26 2008-05-30 Directly obtaining by application programs information usable in determining clock accuracy

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US11460025 Continuation US7395448B2 (en) 2006-07-26 2006-07-26 Directly obtaining by application programs information usable in determining clock accuracy

Publications (1)

Publication Number Publication Date
US20080229138A1 true true US20080229138A1 (en) 2008-09-18

Family

ID=38987820

Family Applications (2)

Application Number Title Priority Date Filing Date
US11460025 Active 2026-11-17 US7395448B2 (en) 2006-07-26 2006-07-26 Directly obtaining by application programs information usable in determining clock accuracy
US12130022 Abandoned US20080229138A1 (en) 2006-07-26 2008-05-30 Directly obtaining by application programs information usable in determining clock accuracy

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US11460025 Active 2026-11-17 US7395448B2 (en) 2006-07-26 2006-07-26 Directly obtaining by application programs information usable in determining clock accuracy

Country Status (1)

Country Link
US (2) US7395448B2 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395448B2 (en) * 2006-07-26 2008-07-01 International Business Machines Corporation Directly obtaining by application programs information usable in determining clock accuracy
US7861093B2 (en) * 2006-08-30 2010-12-28 International Business Machines Corporation Managing data access via a loop only if changed locking facility
US7899894B2 (en) 2006-08-30 2011-03-01 International Business Machines Corporation Coordinated timing network configuration parameter update procedure
US9112626B2 (en) * 2007-01-31 2015-08-18 International Business Machines Corporation Employing configuration information to determine the role of a server in a coordinated timing network
US7689718B2 (en) 2007-01-31 2010-03-30 International Business Machines Corporation Channel subsystem server time protocol commands and system therefor
US7783913B2 (en) 2007-01-31 2010-08-24 International Business Machines Corporation Facilitating recovery in a coordinated timing network
US8738792B2 (en) * 2007-01-31 2014-05-27 International Business Machines Corporation Server time protocol messages and methods
US7783736B2 (en) 2007-01-31 2010-08-24 International Business Machines Corporation Definition of an active stratum-1 server in a coordinated timing network
US7797414B2 (en) * 2007-01-31 2010-09-14 International Business Machines Corporation Establishing a logical path between servers in a coordinated timing network
US8416811B2 (en) * 2008-04-10 2013-04-09 International Business Machines Corporation Coordinated timing network having servers of different capabilities
US7925916B2 (en) 2008-04-10 2011-04-12 International Business Machines Corporation Failsafe recovery facility in a coordinated timing network
US7873862B2 (en) * 2008-10-21 2011-01-18 International Business Machines Corporation Maintaining a primary time server as the current time server in response to failure of time code receivers of the primary time server
WO2012060010A1 (en) * 2010-11-05 2012-05-10 富士通株式会社 Information processing device, method for setting time of information processing device, program for setting time of information processing device, and monitoring device
CN106160909A (en) * 2015-04-24 2016-11-23 中兴通讯股份有限公司 Leap second jumping processing method and device

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4903251A (en) * 1989-09-05 1990-02-20 Ford Motor Company Accuracy adjustment for time-of-day clock using a microcontroller
US5195025A (en) * 1991-02-21 1993-03-16 Texas Instruments Incorporated System and method for dynamic change of computer system and subsystem time-of-day clocks
US5526512A (en) * 1993-09-20 1996-06-11 International Business Machines Corporation Dynamic management of snoop granularity for a coherent asynchronous DMA cache
US5535217A (en) * 1994-12-20 1996-07-09 International Business Machines Corporation Method and apparatus for probabilistic clock synchronization with interval arithmetic
US5535193A (en) * 1995-02-09 1996-07-09 Wandel & Goltermann Technologies, Inc. Multiport analyzing with time stamp synchronizing
US5577237A (en) * 1995-01-23 1996-11-19 Tandem Computers, Incorporated Protocol timer and method of using same
US5828866A (en) * 1996-07-08 1998-10-27 Hewlett-Packard Company Real-time synchronization of concurrent views among a plurality of existing applications
US6096178A (en) * 1998-08-24 2000-08-01 Aviv Amirav Electrolyzer device for the operation of flame ionization detectors
US6125404A (en) * 1998-04-17 2000-09-26 Motorola, Inc. Data processing system having a protocol timer for autonomously providing time based interrupts
US6209106B1 (en) * 1998-09-30 2001-03-27 International Business Machines Corporation Method and apparatus for synchronizing selected logical partitions of a partitioned information handling system to an external time reference
US6236623B1 (en) * 1998-10-16 2001-05-22 Moore Industries System and method for synchronizing clocks in a plurality of devices across a communication channel
US6442509B1 (en) * 1998-03-27 2002-08-27 Nokia Networks Oy Procedure for verifying the duration of a process in a telecommunication system based on processor operation
US20030048811A1 (en) * 2001-09-11 2003-03-13 Robie Edward Adams Methods, systems and computer program products for synchronizing clocks of nodes on a computer network
US6687756B1 (en) * 2000-05-25 2004-02-03 International Business Machines Corporation Switched-based time synchronization protocol for a NUMA system
US20050198240A1 (en) * 2002-03-12 2005-09-08 Deutsche Telekom Ag Method for temporal synchronisation of at least two measuring computers cooperating over a telecommunication network such as internet, intranet or similar
US20050276167A1 (en) * 2004-06-15 2005-12-15 Trevor Davies Adjustable free-running secure clock
US7065679B2 (en) * 2004-03-24 2006-06-20 Hitachi, Ltd. Reasonable clock adjustment for storage system
US20070061605A1 (en) * 2005-09-09 2007-03-15 International Business Machines Corporation System and method for TOD-clock steering
US7395448B2 (en) * 2006-07-26 2008-07-01 International Business Machines Corporation Directly obtaining by application programs information usable in determining clock accuracy

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6098178A (en) * 1998-05-22 2000-08-01 The United States Of America As Represented By The Secretary Of The Navy Time synchronization algorithm for massively parallel processor systems

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4903251A (en) * 1989-09-05 1990-02-20 Ford Motor Company Accuracy adjustment for time-of-day clock using a microcontroller
US5195025A (en) * 1991-02-21 1993-03-16 Texas Instruments Incorporated System and method for dynamic change of computer system and subsystem time-of-day clocks
US5526512A (en) * 1993-09-20 1996-06-11 International Business Machines Corporation Dynamic management of snoop granularity for a coherent asynchronous DMA cache
US5535217A (en) * 1994-12-20 1996-07-09 International Business Machines Corporation Method and apparatus for probabilistic clock synchronization with interval arithmetic
US5577237A (en) * 1995-01-23 1996-11-19 Tandem Computers, Incorporated Protocol timer and method of using same
US5535193A (en) * 1995-02-09 1996-07-09 Wandel & Goltermann Technologies, Inc. Multiport analyzing with time stamp synchronizing
US5828866A (en) * 1996-07-08 1998-10-27 Hewlett-Packard Company Real-time synchronization of concurrent views among a plurality of existing applications
US6442509B1 (en) * 1998-03-27 2002-08-27 Nokia Networks Oy Procedure for verifying the duration of a process in a telecommunication system based on processor operation
US6125404A (en) * 1998-04-17 2000-09-26 Motorola, Inc. Data processing system having a protocol timer for autonomously providing time based interrupts
US6096178A (en) * 1998-08-24 2000-08-01 Aviv Amirav Electrolyzer device for the operation of flame ionization detectors
US6209106B1 (en) * 1998-09-30 2001-03-27 International Business Machines Corporation Method and apparatus for synchronizing selected logical partitions of a partitioned information handling system to an external time reference
US6236623B1 (en) * 1998-10-16 2001-05-22 Moore Industries System and method for synchronizing clocks in a plurality of devices across a communication channel
US6687756B1 (en) * 2000-05-25 2004-02-03 International Business Machines Corporation Switched-based time synchronization protocol for a NUMA system
US20030048811A1 (en) * 2001-09-11 2003-03-13 Robie Edward Adams Methods, systems and computer program products for synchronizing clocks of nodes on a computer network
US20050198240A1 (en) * 2002-03-12 2005-09-08 Deutsche Telekom Ag Method for temporal synchronisation of at least two measuring computers cooperating over a telecommunication network such as internet, intranet or similar
US7065679B2 (en) * 2004-03-24 2006-06-20 Hitachi, Ltd. Reasonable clock adjustment for storage system
US20050276167A1 (en) * 2004-06-15 2005-12-15 Trevor Davies Adjustable free-running secure clock
US20070061605A1 (en) * 2005-09-09 2007-03-15 International Business Machines Corporation System and method for TOD-clock steering
US7356725B2 (en) * 2005-09-09 2008-04-08 International Business Machines Corporation Method and apparatus for adjusting a time of day clock without adjusting the stepping rate of an oscillator
US7395448B2 (en) * 2006-07-26 2008-07-01 International Business Machines Corporation Directly obtaining by application programs information usable in determining clock accuracy

Also Published As

Publication number Publication date Type
US20080028254A1 (en) 2008-01-31 application
US7395448B2 (en) 2008-07-01 grant

Similar Documents

Publication Publication Date Title
US8539484B1 (en) Multi-platform computer system management for virtualized environments
US5771370A (en) Method and apparatus for optimizing hardware and software co-simulation
US6212489B1 (en) Optimizing hardware and software co-verification system
US5892966A (en) Processor complex for executing multimedia functions
US20070011291A1 (en) Grid automation bus to integrate management frameworks for dynamic grid management
US6694425B1 (en) Selective flush of shared and other pipeline stages in a multithread processor
US5343409A (en) System and method for probing object resources in a window server environment
US6209086B1 (en) Method and apparatus for fast response time interrupt control in a pipelined data processor
US20070033594A1 (en) Apparatus, system, and method for object clone event notification
US7415549B2 (en) DMA completion processing mechanism
US20100070741A1 (en) Microprocessor with fused store address/store data microinstruction
US5960206A (en) Method and apparatus for estimating installation time in a data processing system
US5375225A (en) System for emulating I/O device requests through status word locations corresponding to respective device addresses having read/write locations and status information
US20120017197A1 (en) Method and apparatus for electronic system model generation
US20100106872A1 (en) Data processor for processing a decorated storage notify
US20100125624A1 (en) Coupling state aware systems
US7689641B2 (en) SIMD integer multiply high with round and shift
US6308255B1 (en) Symmetrical multiprocessing bus and chipset used for coprocessor support allowing non-native code to run in a system
US20080189438A1 (en) Integration of a Service-Oriented Transaction System With An Information Storage, Access and Analysis System
US20090133018A1 (en) Virtual machine server sizing apparatus, virtual machine server sizing method, and virtual machine server sizing program
US20030056020A1 (en) Hardware message buffer for supporting inter-processor communication
US20080266302A1 (en) Mechanism for granting controlled access to a shared resource
US20040123090A1 (en) Providing access to system management information
US20040088458A1 (en) Method and apparatus for speculative response arbitration to improve system latency
US20090259881A1 (en) Failsafe recovery facility in a coordinated timing network