blob: a3ed72b71aa4a742559c23aed760c0fe17d82921 [file] [log] [blame]
Martijn Coenencbe590c2016-08-30 11:27:56 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Hridya Valsarajud8333792016-08-09 10:05:20 -070017package android.hardware.benchmarks.msgq@1.0;
18
19interface IBenchmarkMsgQ {
Andreas Huber4a99f3a2016-08-30 12:23:59 -070020 ConfigureClientInbox() generates (int32_t ret, MQDescriptor mq_desc_in );
21 ConfigureClientOutbox() generates ( int32_t ret, MQDescriptor mq_desc_out );
Hridya Valsarajud8333792016-08-09 10:05:20 -070022 RequestWrite (int32_t count) generates (int32_t ret);
23 RequestRead(int32_t count) generates (int32_t ret);
24 BenchmarkPingPong(uint32_t numIter);
25 BenchmarkServiceWriteClientRead(uint32_t numIter);
26 SendTimeData(vec<int64_t> time_data);
27};