separate (Tracker.Report_Generator.List_By_Subsystem)

procedure Print_Ss_Total is
    ----------------------------------------------------------------------
    --|  NAME:  PRINT_SS_TOTAL
    --|
    --|  OVERVIEW:
    --|    This procedure prints out the total statics for a subsystem. This
    --|    includes the total remaining man-hours of work to complete this
    --|    subsystem, the total original size, the total current size, and
    --|    the average complexity.
    --|
    --|  EXCEPTIONS HANDLED:
    --|    none
    --|
    --|  HISTORY:
    --|    written by   Bonnie Burkhardt   March 1985
    ----------------------------------------------------------------------

begin
    -- underline columns
    Set_Col (Report_File, 81);
    Put (Report_File, Header_Lines (81 .. 132));
    New_Line (Report_File);

    -- print totals
    Set_Col (Report_File, 70);
    Put (Report_File, "TOTALS");
    Set_Col (Report_File, 81);
    Put (Report_File, Tot_Orig, 7);
    Set_Col (Report_File, 90);
    Put (Report_File, Tot_Currnt, 7);
    Set_Col (Report_File, 99);
    Put (Report_File, Tot_Eq_New, 7);

    if Ele_In_Ss > 0 then
        Set_Col (Report_File, 118);
        Put (Report_File, Tot_Cpxy / Float (Ele_Count), 3, 2, 0);
    end if;

    Set_Col (Report_File, 125);
    Put (Report_File, Tot_Hours, 6, 1, 0);
    New_Line (Report_File);

    -- reset counters
    Ele_Count := 0;
    Tot_Currnt := 0;
    Tot_Eq_New := 0;
    Tot_Orig := 0;
    Tot_Cpxy := 0.0;
    Tot_Hours := 0.0;
end Print_Ss_Total;