Coder Social home page Coder Social logo

Options to turn off backend about ice-ba HOT 3 OPEN

cobar001 avatar cobar001 commented on July 2, 2024
Options to turn off backend

from ice-ba.

Comments (3)

wangjio avatar wangjio commented on July 2, 2024
  • If you want to close GBA:
    [back-end only mode] Set 'debug_gba' to '-1' in config file, and uncomment

    //#define CFG_DEBUG
    to define Marco 'CFG_DEBUG'. Then GBA will be closed.
    [run ice-ba] Change
    IBA_DEBUG_NONE,
    to 0x0000FF00, and uncomment
    //#define CFG_DEBUG
    to define Marco 'CFG_DEBUG'. Then GBA will be closed.

  • We provide function to evaluate LBA or GBA time consuming.
    For back-end only mode, set 'history_lba' or 'history_gba' to '1' in config file, then

    ICE-BA/App/run_backend.cpp

    Lines 431 to 436 in b004bb5

    if (tLBA) {
    solver.GetTimeLBA(tLBA);
    }
    if (tGBA) {
    solver.GetTimeGBA(tGBA);
    }
    will print the average time consuming on your terminal. If you want to do this in ice-ba mode, call GetTimeLBA or GetTimeGBA as run_backend.cpp has done.

from ice-ba.

cobar001 avatar cobar001 commented on July 2, 2024

That works! Thanks a lot!

from ice-ba.

cobar001 avatar cobar001 commented on July 2, 2024

@wangjio One more question. I got the time of LBA as you suggested, but it took 10+ ms on average, which is much longer than 2-3 ms as shown in the paper. I was running on my laptop with i7-6700HQ 2.6GHz CPU. I understand it is slower than the machine used in the paper but I did not expect such a big difference. Did I do something wrong or the configuration here is different from the paper? Thank you.

from ice-ba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.