-/* ------------------------------------------------\r
-Copyright 2014 AT&T Intellectual Property\r
- Licensed under the Apache License, Version 2.0 (the "License");\r
- you may not use this file except in compliance with the License.\r
- You may obtain a copy of the License at\r
-\r
- http://www.apache.org/licenses/LICENSE-2.0\r
-\r
- Unless required by applicable law or agreed to in writing, software\r
- distributed under the License is distributed on an "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- See the License for the specific language governing permissions and\r
- limitations under the License.\r
- ------------------------------------------- */\r
-\r
-#ifndef FTA_STAT_H\r
-#define FTA_STAT_H\r
-\r
-/* statiss are collected by FTAs and regularly sent to cluster manager (currently every 1 sec)\r
- * Statistics refers to time interval since the last time statistics was reported */\r
-typedef struct fta_stat {\r
- FTAID ftaid;\r
- gs_uint32_t in_tuple_cnt; /* # of tuples received */\r
- gs_uint32_t out_tuple_cnt; /* # of tuples produced */\r
- gs_uint32_t out_tuple_sz; /* bytes in produced tuples */\r
- gs_uint32_t accepted_tuple_cnt; /* # of tuples that passed initial unpacking and selection predicate */\r
- gs_uint64_t cycle_cnt; /* # of cpu cycles spent in accept_tuple */\r
- gs_uint32_t collision_cnt; /* # of collisions in an aggregation hash table */\r
- gs_uint32_t eviction_cnt; /* # of collisions in an aggregation hash table */\r
- gs_float_t sampling_rate; /* sampling rate used by fta */\r
-\r
- /* ...will add more fields in the future... */\r
-} fta_stat;\r
-\r
-#endif /* FTA_STAT_H */\r
+/* ------------------------------------------------
+Copyright 2014 AT&T Intellectual Property
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ------------------------------------------- */
+
+#ifndef FTA_STAT_H
+#define FTA_STAT_H
+
+/* statiss are collected by FTAs and regularly sent to cluster manager (currently every 1 sec)
+ * Statistics refers to time interval since the last time statistics was reported */
+typedef struct fta_stat {
+ FTAID ftaid;
+ gs_uint32_t in_tuple_cnt; /* # of tuples received */
+ gs_uint32_t out_tuple_cnt; /* # of tuples produced */
+ gs_uint32_t out_tuple_sz; /* bytes in produced tuples */
+ gs_uint32_t accepted_tuple_cnt; /* # of tuples that passed initial unpacking and selection predicate */
+ gs_uint64_t cycle_cnt; /* # of cpu cycles spent in accept_tuple */
+ gs_uint32_t collision_cnt; /* # of collisions in an aggregation hash table */
+ gs_uint32_t eviction_cnt; /* # of collisions in an aggregation hash table */
+ gs_float_t sampling_rate; /* sampling rate used by fta */
+
+ /* ...will add more fields in the future... */
+} fta_stat;
+
+#endif /* FTA_STAT_H */