Ignore:
Timestamp:
Apr 25, 2017, 12:27:24 PM (2 years ago)
Author:
cameron
Message:

ShowKernelCycles? option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/CBuilder.cpp

    r5422 r5424  
    727727}
    728728
     729Value * CBuilder::CreateReadCycleCounter() {
     730    Value * cycleCountFunc = Intrinsic::getDeclaration(mMod, Intrinsic::readcyclecounter);
     731    return CreateCall(cycleCountFunc, std::vector<Value *>({}));
     732}
     733
     734
    729735CBuilder::CBuilder(Module * const m, const unsigned GeneralRegisterWidthInBits, const bool SupportsIndirectBr, const unsigned CacheLineAlignmentInBytes)
    730736: IRBuilder<>(m->getContext())
Note: See TracChangeset for help on using the changeset viewer.