B.7.11 CADIProfileHazardDescription_t

Objects of this type provide information about the hazard.

class CADIProfileHazardDescription_t
{
public: // methods
        CADIProfileHazardDescription_t(
                  CADIProfileHazardTypes_t type_par =
                       CADI_PROF_HAZARD_RESOURCE_MAX_ACCESS,
                  uint32_t numberOfAccesses_par = 0, 
                  uint32_t originInstructionFID_par = 0,
                  uint32_t affectedInstructionFID_par = 0, 
                  const char *resource_par = "",
                  const char *messages_par = "") :
            type(type_par),
            numberOfAccesses(numberOfAccesses_par),
            originInstructionFID(originInstructionFID_par),
            affectedInstructionFID(affectedInstructionFID_par)
        {
            AssignString(resource, resource_par, sizeof(resource));
            AssignString(message, messages_par, sizeof(message));
        }
public: // data
        CADIProfileHazardTypes_t type;
        uint32_t    numberOfAccesses; 
        uint32_t    originInstructionFID;  
        uint32_t    affectedInstructionFID; 
        char        resource[CADI_DESCRIPTION_SIZE];
        char        message[CADI_DESCRIPTION_SIZE]; 
};
type
is the number of accesses to affected resource.
numberOfAccesses
is the FID of the originator resource or instruction.
affectedInstructionFID
is the name of the affected resource or instruction.
resource
is the resource.
message
is the hazard message.
Non-ConfidentialPDF file icon PDF version100963_0200_03_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.