aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnarl/a-extiin.ads
blob: a4edb8f28e7600f9cadd5ca1047c52cca9af88b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
------------------------------------------------------------------------------
--                                                                          --
--                         GNAT RUN-TIME COMPONENTS                         --
--                                                                          --
--         A D A . E X E C U T I O N _ T I M E . I N T E R R U P T S        --
--                                                                          --
--                                 S p e c                                  --
--                                                                          --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT.  In accordance with the copyright of that document, you can freely --
-- copy and modify this specification,  provided that if you redistribute a --
-- modified version,  any changes that you have made are clearly indicated. --
--                                                                          --
------------------------------------------------------------------------------

with Ada.Interrupts;
with Ada.Real_Time;

package Ada.Execution_Time.Interrupts with
  SPARK_Mode
is

   pragma Unimplemented_Unit;

   function Clock (Interrupt : Ada.Interrupts.Interrupt_ID) return CPU_Time
   with
     Volatile_Function,
     Global => Ada.Real_Time.Clock_Time,
     Pre    => Separate_Interrupt_Clocks_Supported;

   function Supported (Interrupt : Ada.Interrupts.Interrupt_ID) return Boolean
   with
     Global => null;

end Ada.Execution_Time.Interrupts;