Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. ~ $ time bm_qtcontacts_trackerplugin_batchsaving 500 250 1
  2. Going to add 500 contacts with full details
  3. libqtcontacts-tracker: initializing libqtcontacts-tracker 4.10.7-3+0m6
  4. libqtcontacts-tracker: classhierarchy.cpp:300: Must rebuild class cache, waiting for mutex
  5. libqtcontacts-tracker: writing /home/user/.cache/contacts/rdf-classes.db
  6. Contact manager created: "qtcontacts:tracker:"
  7. Perform batch add: 250 contacts
  8. Generating contacts
  9. Before start
  10. libqtcontacts-tracker: classhierarchy.cpp:300: Must rebuild class cache, waiting for mutex
  11. libqtcontacts-tracker: writing /home/user/.cache/contacts/rdf-classes.db
  12. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) state changed!
  13. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) changed state: Active
  14. libqtcontacts-tracker: engine.cpp:1397:
  15. =============================================================================
  16. WARNING /!\
  17. =============================================================================
  18. NEVER EVER CALL THIS FUNCTION FROM PRODUCTION CODE!!!
  19.  
  20. QContactAbstractRequest::waitForFinished(), respectively
  21. QContactManagerEngine::waitForRequestFinished() must spin your
  22. application's event loop. Doing so will cause HAVOC AND PAIN for
  23. any non-trivial program.
  24.  
  25. So please refactor your asynchronious code, or use the synchronious
  26. API if blocking your application is acceptable.
  27.  
  28. WE MEAN IT!!!
  29. =============================================================================
  30.  
  31.  
  32.  
  33. Result available!!!
  34. saved 250 contacts
  35. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) state changed!
  36. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) changed state: Finished
  37. Batch finished.
  38. Perform batch add: 250 contacts
  39. Generating contacts
  40. Before start
  41. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) state changed!
  42. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) changed state: Active
  43. libqtcontacts-tracker: engine.cpp:1397:
  44. =============================================================================
  45. WARNING /!\
  46. =============================================================================
  47. NEVER EVER CALL THIS FUNCTION FROM PRODUCTION CODE!!!
  48.  
  49. QContactAbstractRequest::waitForFinished(), respectively
  50. QContactManagerEngine::waitForRequestFinished() must spin your
  51. application's event loop. Doing so will cause HAVOC AND PAIN for
  52. any non-trivial program.
  53.  
  54. So please refactor your asynchronious code, or use the synchronious
  55. API if blocking your application is acceptable.
  56.  
  57. WE MEAN IT!!!
  58. =============================================================================
  59.  
  60. Result available!!!
  61. saved 250 contacts
  62. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) state changed!
  63. void Eng::onStateChanged(QtMobility::QContactAbstractRequest::State) changed state: Finished
  64. Batch finished.
  65. Time elapsed: 419.524
  66. real 7m 0.55s
  67. user 0m 22.53s
  68. sys 0m 0.57s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement