Skip to content
Snippets Groups Projects
  1. Aug 04, 2016
  2. Apr 27, 2016
  3. Mar 01, 2016
    • Ramin Yaghoubzadeh Torky's avatar
      C++: simple profiling timers · 33664e85
      Ramin Yaghoubzadeh Torky authored
      [.. code ...]
      IPAACA_SIMPLE_TIMER_BEGIN(blockid1)
      [... first code block to time ...]
      IPAACA_SIMPLE_TIMER_END(blockid1, "Processing loop 1")
      [...]
      
      -> e.g.: "Processing loop - us elapsed: 15" to terminal
      
      Several blocks can be timed in one stack frame using more blockids
      (TODO: implement profiling mode that can be turned on/off)
      33664e85
  4. Jan 07, 2016
  5. Dec 10, 2015
  6. Dec 04, 2015
  7. Dec 03, 2015
  8. Nov 16, 2015
  9. Aug 02, 2015
  10. Jun 17, 2015
  11. Apr 08, 2015
    • Ramin Yaghoubzadeh Torky's avatar
      C++: batch updates · 75e61345
      Ramin Yaghoubzadeh Torky authored
      Use with Locker, possible in a dedicated stack frame, like this:
      // ... code ...
      { // open stack frame
      	Locker locker(iu->payload());
      	iu->payload()["a"] = "string";
      	iu->payload()["b"] = "simultaneouslySentString";
      } // close stack frame, sending the update
      75e61345
  12. Mar 28, 2015
  13. Mar 27, 2015
  14. Mar 03, 2015
  15. Feb 27, 2015
    • Ramin Yaghoubzadeh Torky's avatar
      C++: iteration over deep proxies · f4393e75
      Ramin Yaghoubzadeh Torky authored
      Address mode must be selected explicitly using as_map/as_list, like so:
        for (auto value: iu->payload()["listItem"].as_list()) { .... }
        for (auto kv_pair: iu->payload()["mapItem"].as_map()) { .... }
      Generic size() function (reports 0 for non-structured types)
      f4393e75
  16. Feb 26, 2015
  17. Feb 25, 2015
  18. Feb 24, 2015
  19. Feb 23, 2015
  20. Feb 21, 2015
  21. Feb 20, 2015
Loading