1 with Ada
.Command_Line
; use Ada
.Command_Line
;
2 with System
.Multiprocessors
; use System
.Multiprocessors
;
4 package Constant4_Pkg
is
6 Max_CPUs
: constant CPU
:= (if Argument_Count
< 2 then Number_Of_CPUs
7 else CPU
'Value (Argument
(2)));
9 subtype Worker_Id
is CPU
range 1 .. Max_CPUs
;
11 type Counter
is range 0 .. 10**18;
13 Steals
: array (Worker_Id
) of Counter
:= (others => 0);