source: libcfa/src/device/cpu.hfa@ b51e389c

ADT ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since b51e389c was 96f002c1, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Added new device folder and cpu file to libcfa

  • Property mode set to 100644
File size: 575 bytes
RevLine 
[96f002c1]1//
2// Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// cpu.hfa -- read the data structure
8//
9// Author : Thierry Delisle
10// Created On : Fri Jun 11 15:22:23 2021
11// Last Modified By :
12// Last Modified On :
13// Update Count :
14//
15
16#include <stddef.h>
17
18struct cpu_map_entry_t {
19 unsigned start;
20 unsigned count;
21};
22
23struct cpu_info_t {
24 const cpu_map_entry_t * llc_map;
25 size_t hthrd_count;
26};
27
28cpu_info_t cpu_info;
Note: See TracBrowser for help on using the repository browser.