<commit_before>#ifndef CORE_H
#define CORE_H

#include <string.h>

// some forward declarations for cross includes
class Tile;
class CoreModel;
class Network;
class MemoryManager;
class SyscallMdl;
class SyncClient;
class ClockSkewMinimizationClient;

// FIXME: Move this out of here eventually
class PinMemoryManager;

#include "mem_component.h"
#include "fixed_types.h"
#include "config.h"
#include "core_model.h"
#include "shmem_perf_model.h"
#include "capi.h"
#include "packet_type.h"


using namespace std;

class Core
{
public:
   enum State
   {
      RUNNING = 0,
      INITIALIZING,
      STALLED,
      SLEEPING,
      WAKING_UP,
      IDLE,
      NUM_STATES
   };

   enum LockSignalType
   {
      INVALID_LOCK_SIGNAL = 0,
      MIN_LOCK_SIGNAL,
      NONE = MIN_LOCK_SIGNAL,
      LOCK,
      UNLOCK,
      MAX_LOCK_SIGNAL = UNLOCK,
      NUM_LOCK_SIGNAL_TYPES = MAX_LOCK_SIGNAL - MIN_LOCK_SIGNAL + 1
   };

   enum MemOpType
   {
      INVALID_MEM_OP = 0,
      MIN_MEM_OP,
      READ = MIN_MEM_OP,
      READ_EX,
      WRITE,
      MAX_MEM_OP = WRITE,
      NUM_MEM_OP_TYPES = MAX_MEM_OP - MIN_MEM_OP + 1
   };

   Core(Tile *tile);
   virtual ~Core();<commit_msg>[core] Changed some enums<commit_after>#ifndef CORE_H
#define CORE_H

#include <string.h>

// some forward declarations for cross includes
class Tile;
class CoreModel;
class Network;
class MemoryManager;
class SyscallMdl;
class SyncClient;
class ClockSkewMinimizationClient;

// FIXME: Move this out of here eventually
class PinMemoryManager;

#include "mem_component.h"
#include "fixed_types.h"
#include "config.h"
#include "core_model.h"
#include "shmem_perf_model.h"
#include "capi.h"
#include "packet_type.h"


using namespace std;

class Core
{
public:
   enum State
   {
      RUNNING = 0,
      INITIALIZING,
      STALLED,
      SLEEPING,
      WAKING_UP,
      IDLE,
      NUM_STATES
   };

   enum lock_signal_t
   {
      INVALID_LOCK_SIGNAL = 0,
      MIN_LOCK_SIGNAL,
      NONE = MIN_LOCK_SIGNAL,
      LOCK,
      UNLOCK,
      MAX_LOCK_SIGNAL = UNLOCK,
      NUM_LOCK_SIGNAL_TYPES = MAX_LOCK_SIGNAL - MIN_LOCK_SIGNAL + 1
   };

   enum mem_op_t
   {
      INVALID_MEM_OP = 0,
      MIN_MEM_OP,
      READ = MIN_MEM_OP,
      READ_EX,
      WRITE,
      MAX_MEM_OP = WRITE,
      NUM_MEM_OP_TYPES = MAX_MEM_OP - MIN_MEM_OP + 1
   };

   Core(Tile *tile);
   virtual ~Core();
{'fraction_non_alphanumeric': 0.08614864864864864, 'fraction_numerical': 0.004222972972972973, 'mean_word_length': 2.8836065573770493, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4703132', 'n_tokens_mistral': 918, 'n_tokens_neox': 876, 'n_words': 200}