增加和tfe之间的保活

This commit is contained in:
崔一鸣
2019-06-17 20:52:22 +08:00
parent a03bebbfb9
commit 0da2c833fe
11 changed files with 359 additions and 26 deletions

8
entry/include/tfe_mgr.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
#define TFE_COUNT_MAX 32
#define BUFF_SIZE_MAX 1024
struct tfe_mgr;
struct tfe_mgr* tfe_mgr_init(int tfe_node_count, const char* profile, void *logger);
void tfe_mgr_destroy(struct tfe_mgr* mgr);
int tfe_mgr_alive_node_get(struct tfe_mgr *mgr, int thread_seq);