Difference between pages "r7.1.1:Enum libbenchmark topology node cache type" and "r7.1.1:Enum libtest misc determine erg result"

From liblfds.org
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
Line 1: Line 1:
{{DISPLAYTITLE:enum libbenchmark_topology_node_cache_type}}
{{DISPLAYTITLE:enum libtest_misc_determine_erg_result}}
==Source File==
==Source File==
  └───test_and_benchmark
  └── test_and_benchmark
     └───libbenchmark
     └── libtest
         └───inc
         └── inc
             └───libbenchmark
             └── libtest
                    libbenchmark_topology_node.h
                └── libtest_misc.h
 


==Enum==
==Enum==
  enum libbenchmark_topology_node_cache_type
  enum libtest_determine_erg_result
  {
  {
   LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_DATA,
   LIBTEST_MISC_DETERMINE_ERG_RESULT_SUCCESS,
   LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_INSTRUCTION,
   LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE,
   LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_UNIFIED,
   LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE_OR_NO_LLSC,
   LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_COUNT
   LIBTEST_MISC_DETERMINE_ERG_RESULT_NO_LLSC,
  LIBTEST_MISC_DETERMINE_ERG_RESULT_NOT_SUPPORTED
  };
  };


==Values==
==Values==
''LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_DATA''
''LIBTEST_MISC_DETERMINE_ERG_RESULT_SUCCESS''
: Indicate a data cache.
: The code used to determine ERG length is inherently imperfect.  This enum value indicates that the test code ''thinks'' it ran successfully - which means, at least, that none of the range of ''known'' failures occurred.
''LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_INSTRUCTION''
 
: Indicate an instruction cache.
''LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE''
''LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_UNIFIED''
: The attempt to determine ERG length could not work because the current system only has one physical core.  There must be two (or more) physical cores for it to be able to work.
: Indicate a instruction cache.
 
''LIBBENCHMARK_TOPOLOGY_NODE_CACHE_TYPE_COUNT''
''LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE_OR_NO_LLSC''
: A count of the number of members in this enum.
: The attempt to determine ERG length did not work either because the current system only has one physical core, or has no support for LL/SC.
 
''LIBTEST_MISC_DETERMINE_ERG_RESULT_NO_LLSC''
: No LL/SC operations succeeded at all, which implies the system has no LL/SC support.
 
''LIBTEST_MISC_DETERMINE_ERG_RESULT_NOT_SUPPORTED''
: This value indicates that an attempt was made to determine the ERG length on an unsupported platform.  Currently only ARM32 is supported and this value will be returned on all other platforms.


==Notes==
==Notes==
This enum is used by the function ''[[r7.1.1:function libbenchmark_misc_pal_helper_add_cache_node_to_topology_tree|libbenchmark_misc_pal_helper_add_cache_node_to_topology_tree]]''.  It indicates the type (data, instruction or unified) of cache being added to the topology tree.
This enum indicate the outcome of the attempt to determine the platform ERG length.


==See Also==
==See Also==
* ''[[r7.1.1:function libbenchmark_pal_populate_topology|libbenchmark_pal_populate_topology]]''
* [[r7.1.1:Release_7.1.1_Documentation|Release 7.1.1 Documentation]]
* ''[[r7.1.1:function libbenchmark_misc_pal_helper_add_cache_node_to_topology_tree|libbenchmark_misc_pal_helper_add_cache_node_to_topology_tree]]''

Latest revision as of 20:16, 17 February 2017

Source File

└── test_and_benchmark
    └── libtest
        └── inc
            └── libtest
                └── libtest_misc.h


Enum

enum libtest_determine_erg_result
{
  LIBTEST_MISC_DETERMINE_ERG_RESULT_SUCCESS,
  LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE,
  LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE_OR_NO_LLSC,
  LIBTEST_MISC_DETERMINE_ERG_RESULT_NO_LLSC,
  LIBTEST_MISC_DETERMINE_ERG_RESULT_NOT_SUPPORTED
};

Values

LIBTEST_MISC_DETERMINE_ERG_RESULT_SUCCESS

The code used to determine ERG length is inherently imperfect. This enum value indicates that the test code thinks it ran successfully - which means, at least, that none of the range of known failures occurred.

LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE

The attempt to determine ERG length could not work because the current system only has one physical core. There must be two (or more) physical cores for it to be able to work.

LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE_OR_NO_LLSC

The attempt to determine ERG length did not work either because the current system only has one physical core, or has no support for LL/SC.

LIBTEST_MISC_DETERMINE_ERG_RESULT_NO_LLSC

No LL/SC operations succeeded at all, which implies the system has no LL/SC support.

LIBTEST_MISC_DETERMINE_ERG_RESULT_NOT_SUPPORTED

This value indicates that an attempt was made to determine the ERG length on an unsupported platform. Currently only ARM32 is supported and this value will be returned on all other platforms.

Notes

This enum indicate the outcome of the attempt to determine the platform ERG length.

See Also