Announcement

Collapse
No announcement yet.

SCOPE_CYCLE_COUNTER - how do I use it ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Your stats should show up when you load a ue4stats file (recorded using "stat startfile" and "stat stopfile") in the profiler.

    Leave a comment:


  • started a topic SCOPE_CYCLE_COUNTER - how do I use it ?

    SCOPE_CYCLE_COUNTER - how do I use it ?

    I have

    Header:
    Code:
    DECLARE_STATS_GROUP(TEXT("GameAttributes"), STATGROUP_GameAttributes, STATCAT_Advanced);
    DECLARE_CYCLE_STAT_EXTERN(TEXT("GameAttributesPostModifyAttribute"), STAT_PostModifyAttribute, STATGROUP_GameAttributes, );
    Implementation:
    Code:
    #include "GameAttributes.h"
    #include "GAAttributesStats.h"
    DEFINE_STAT(STAT_PostModifyAttribute);
    And I try to use:
    SCOPE_CYCLE_COUNTER(STAT_PostModifyAttribute);

    And I get this:

    ...

    Ok I managed to fix by declaring stat group locally for files I needed it.

    But, now how do I display/get my stats ? I can't see them in profiler.
    Last edited by iniside; 02-07-2015, 07:39 PM.
Working...
X