Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80c48461 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder: schd-dbg test FIXME -> TODO" am: bc97506d am: 9d4c2643 am: 510a81f5

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1509089

Change-Id: I7c5f9192c1d8fe654e3bbb5135d7b833ff873a2b
parents d853f16c 510a81f5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ struct Results {
    double best = (double)m_best / 1.0E6;
    double worst = (double)m_worst / 1.0E6;
    double average = (double)m_total_time / m_transactions / 1.0E6;
    // FIXME: libjson?
    // TODO: libjson?
    int W = DUMP_PRESICION + 2;
    cout << setprecision(DUMP_PRESICION) << "{ \"avg\":" << setw(W) << left
         << average << ",\"wst\":" << setw(W) << left << worst
@@ -376,7 +376,7 @@ void worker_fx(int num, int no_process, int iterations, int payload_size,
  if (is_client(num)) {
    int no_trans = iterations * 2;
    double sync_ratio = (1.0 - (double)no_sync / no_trans);
    // FIXME: libjson?
    // TODO: libjson?
    cout << "\"P" << (num - server_count) << "\":{\"SYNC\":\""
         << ((sync_ratio > GOOD_SYNC_MIN) ? "GOOD" : "POOR") << "\","
         << "\"S\":" << (no_trans - no_sync) << ",\"I\":" << no_trans << ","
@@ -466,7 +466,7 @@ int main(int argc, char** argv) {
  }
  vector<Pipe> pipes;
  thread_dump("main");
  // FIXME: libjson?
  // TODO: libjson?
  cout << "{" << endl;
  cout << "\"cfg\":{\"pair\":" << (no_process / 2)
       << ",\"iterations\":" << iterations << ",\"deadline_us\":" << deadline_us
@@ -495,7 +495,7 @@ int main(int argc, char** argv) {
    // detected in the child process
    no_inherent += status;
  }
  // FIXME: libjson?
  // TODO: libjson?
  cout << "\"inheritance\": " << (no_inherent == 0 ? "\"PASS\"" : "\"FAIL\"")
       << endl;
  cout << "}" << endl;