osprey/gorc/frays/test.cc File Reference

#include "stdlib.h"
#include "fray.h"
#include "stdio.h"
#include <sys/time.h>

Include dependency graph for test.cc:

Go to the source code of this file.

Defines

#define FRAY_STATS
#define PRIME   262584211
#define TABLE_SIZE   (1<<25)
#define NUM_SWAPS   10000000
#define REPEAT   5

Functions/Subroutines

void chase (fray_block *fb, int64_t id)
void goof (fray_block *fb, int64_t id)
void hoof (fray_block *fb, int64_t id)
void poof (fray_block *fb, int64_t id)
int main ()

Variables

int foop
uint64_t a [TABLE_SIZE]
uint64_t perm [TABLE_SIZE]


Define Documentation

#define FRAY_STATS

Definition at line 2 of file test.cc.

#define NUM_SWAPS   10000000

Definition at line 11 of file test.cc.

Referenced by chase(), and main().

#define PRIME   262584211

Definition at line 9 of file test.cc.

Referenced by _elf_nlist().

#define REPEAT   5

Referenced by main(), and print_insn_sh().

#define TABLE_SIZE   (1<<25)

Definition at line 10 of file test.cc.


Function Documentation

void chase ( fray_block fb,
int64_t  id 
)

Definition at line 14 of file test.cc.

References a, foop, fray_prefetch_and_yield(), fray_return(), iter, NUM_SWAPS, s, and fray_block::sched.

Referenced by main().

void goof ( fray_block fb,
int64_t  id 
)

Definition at line 26 of file test.cc.

References fprintf(), fray_barrier(), fray_return(), fray_yield(), i, random(), and x1.

void hoof ( fray_block fb,
int64_t  id 
)

Definition at line 45 of file test.cc.

References fprintf(), fray_barrier(), and fray_return().

Referenced by main().

int main ( void   ) 

void poof ( fray_block fb,
int64_t  id 
)

Definition at line 53 of file test.cc.

References fprintf(), fray_return(), fray_yield(), i, r, and random().


Variable Documentation

uint64_t a[TABLE_SIZE]

Definition at line 12 of file test.cc.

Referenced by __cq_int(), __floatdidf(), __floatdisf(), __floatditf(), __floatsidf(), __floatsisf(), __floatsitf(), __floatundidf(), __floatundisf(), __floatunditf(), __floatunsidf(), __floatunsisf(), __floatunsitf(), __jn(), __OPN(), __stride_profile_invoke(), __value_profile_invoke(), __yn(), _bfd_elf_link_find_version_dependencies(), _bfd_elf_print_private_bfd_data(), _bfd_elf_strtab_finalize(), _bfd_relocate_contents(), _bfd_XXi_swap_aouthdr_in(), _dwarf_pro_encode_leb128_nm(), _INQ(), _ll_implicit_open(), add(), alloc_object_size(), alloc_page(), alpha_expand_block_clear(), alpha_expand_block_move(), alpha_fold_builtin_perr(), analyze_all_data_dependences(), any_condjump_p(), Apply_Controls(), ar_cfix128(), ar_cfix64(), ar_crnd128(), ar_crnd64(), ar_divide_complex(), ar_ifix128(), ar_ifix32(), ar_ifix64(), ar_multiply_complex(), arc_compute_function_type(), ARGS1(), ARGS2(), arm_compute_func_type(), assign_colors(), avr_naked_function_p(), avr_progmem_p(), b_out_symbol_cmp(), bfd_check_overflow(), bfd_elf_print_symbol(), bfd_elf_size_dynamic_sections(), break_coalesced_spills(), build_assert_expr_for(), build_classic_dir_vector(), build_classic_dist_vector(), build_non_dependent_args(), build_op_delete_call(), build_over_call(), c_q_mul(), CACHE_REGION::CACHE_REGION(), ccp_fold_builtin(), chase(), check_function_format(), check_function_nonnull(), cmp_c_test(), coff_find_nearest_line(), coff_mangle_symbols(), coff_write_native_symbol(), comp(), comp_except_specs(), compare_symbols(), complete_intrinsic_definition(), Compose_Addr(), compute_all_dependences(), Compute_BR_Prob_From_Hint(), const_double_htab_eq(), cpp_avoid_paste(), cpp_string_eq(), cpp_string_hash(), current_template_args(), cwh_addr_nonc_util(), cxx_int_tree_map_eq(), d_print_comp(), d_template_args(), decimal_real_arithmetic(), decl_attributes(), decNumberSquareRoot(), decrement_degree(), def_fn_type(), dfp_binary_op(), dfp_compare_op(), dfp_unary_op(), POINTS_TO::Different_base(), disassembler(), DMAT_to_IMAT(), do_pending_defargs(), dump_template_parameter(), elf_link_add_object_symbols(), elf_link_sort_cmp1(), elf_link_sort_cmp2(), emit_mode_adjustments(), emit_predicate_relation_info(), ARRAY_REF::Enter_Innermost_Scalar_Expand(), ARRAY_REF::Enter_Scalar_Expand(), env_compare(), EPROP(), eq_mode(), event_get_word16(), event_get_word32(), event_get_word64(), Expand_Integer_Divide_By_Constant(), expand_vector_binop(), expand_vector_unop(), fei_ieee_sign_xfer(), fei_sign_xfer(), ffecom_2(), ffeequiv_offset_(), ffeintrin_check_(), fibheap_consolidate(), find_luno(), find_tail_calls(), fix_compare(), FMAT_to_IMAT(), fold_to_nonsharp_ineq_using_bound(), FPROP(), frame_heapsort(), function_attribute_inlinable_p(), gen_insn(), get_gcc_version(), get_program_header_size(), ggc_pch_this_base(), ggc_pch_total_size(), global_conflicts(), goto_queue_cmp(), h8300_eightbit_data_p(), h8300_funcvec_function_p(), h8300_interrupt_function_p(), h8300_monitor_function_p(), h8300_os_task_function_p(), h8300_saveall_function_p(), h8300_shift_needs_scratch_p(), h8300_tiny_data_p(), hash_c_test(), IMAT_to_DMAT(), IMAT_to_FMAT(), Init_Controls_Tbl(), initialize_inlined_parameters(), initialize_trampoline(), insn_decode(), int_tree_map_eq(), internal_reloc_compare(), internal_reloc_matches(), interrupt_function_p(), ip2k_gen_unsigned_comp_branch(), ip2k_naked_function_p(), is_nlist_typed(), iterative_hash(), iterative_hash_hashval_t(), iterative_hash_host_wide_int(), iterative_hash_pointer(), ix86_function_ok_for_sibcall(), java_perform_atof(), lambda_compute_auxillary_space(), lambda_matrix_inverse(), lambda_matrix_left_hermite(), lambda_matrix_right_hermite(), lookup_template_class(), lower_rsqrt(), m68k_interrupt_function_p(), main(), malloc_display_(), malloc_find_inpool_(), malloc_kill_inpool_(), malloc_new_inpool_(), malloc_pool_display(), malloc_pool_kill(), malloc_resize_inpool_(), malloc_verify_inpool_(), map_luno(), mark_relocs(), maybe_emit_chk_warning(), merge_attributes(), merge_strings(), mt_interrupt_function_p(), multiply(), NAMEf_dfnf1(), new_adjust(), noce_process_if_block(), noce_try_abs(), noce_try_bitop(), noce_try_cmove_arith(), Op_In_Working_Set(), output_e500_flip_gt_bit(), parse_using_directive(), pe_export_sort(), Pop_Controls(), Print_Controls(), print_insn_hppa(), print_insn_pj(), Process_Control_Opt(), Instr::Profile_Icall(), Profile_Icall(), property_table_compare(), property_table_matches(), pstrcmp(), push_template_decl_real(), read_encoded_value_with_base(), reloc_sort(), run_phase(), s(), POINTS_TO::Same_base(), sge_plus(), signal_function_p(), simplify_comparison(), simplify_tests(), sort_tags_by_id(), source_reloc_compare(), splay_tree_compare_decl_uid(), split_specs_attrs(), sra_elt_eq(), store_ctrl(), sub(), tail_recursion_args(), Targ_WhirlOp(), tic4x_print_indirect(), unwind_info_add_restore_reg_info(), unwind_info_add_spill_psprel_info(), unwind_info_add_spill_reg_to_gr_info(), unwind_info_add_spill_sprel_info(), use_thunk(), used_part_map_eq(), v850_interrupt_function_p(), var_map_eq(), var_map_hash(), WFE_Address_Of(), WGEN_Address_Of(), WGEN_handle_non_pods(), xcoff_complain_overflow_bitfield_func(), xcoff_complain_overflow_signed_func(), xcoff_complain_overflow_unsigned_func(), xstormy16_expand_builtin(), and xstormy16_init_builtins().

int foop

Definition at line 8 of file test.cc.

Referenced by chase().

uint64_t perm[TABLE_SIZE]

Definition at line 13 of file test.cc.

Referenced by F90_Generate_Loops(), main(), and unwind_get_obj_phdr().


Generated on Wed Apr 8 15:07:39 2009 for Open64 by  doxygen 1.5.6