Skip to content

Instantly share code, notes, and snippets.

@yuki-inaho
Last active May 18, 2020 11:51
Show Gist options
  • Select an option

  • Save yuki-inaho/55b2912b1a3be30d0475d0cd79dca683 to your computer and use it in GitHub Desktop.

Select an option

Save yuki-inaho/55b2912b1a3be30d0475d0cd79dca683 to your computer and use it in GitHub Desktop.
To check function call statistics without depth image processing
#include <vector>
#include <cmath>
#include <iostream>
#include "PicoZense_api.h"
using namespace std;
int main(int argc, char *argv[])
{
PsReturnStatus status;
int32_t deviceIndex = 0;
status = PsInitialize();
if (status != PsReturnStatus::PsRetOK)
{
cout << "PsInitialize failed!" << endl;
system("pause");
return -1;
}
for(;;){}
PsShutdown();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment