Inside <globalalarmsgiven> all these alarms are listed which are given only once, global for the whole dive.
<dive>, <informationbeforedive>, <waypoint>
(see also <dive>)
<dive id="example_dive>
    <!-- previous statements -->
    ...
    <samples>
        <!-- here follow the real dive data: -->
        <!-- consisting of <waypoint> statements, if necessary with single -->
        <!-- alarms which are given up to several times by the dive computer -->
        ...
    </samples>
    <informationafterdive>
        <!-- "global" alarms, given by the dive computer during the dive only ONCE -->
        <!-- - for the whole dive -->
        <globalalarmsgiven>
            <globalalarm>sos-mode</globalalarm>
            <globalalarm>work-too-hard</globalalarm>
            <globalalarm>ascent-warning-too-long</globalalarm>
        </globalalarmsgiven>
    </informationafterdive>
</dive>