Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup server output a bit #3914

Merged
merged 4 commits into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions source/adios2/toolkit/remote/remote_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ static void GetRequestHandler(CManager cm, CMConnection conn, void *vevent, void
Response.ReadResponseCondition = GetMsg->GetResponseCondition; \
Response.Dest = GetMsg->Dest; /* final data destination in client memory space */ \
if (verbose >= 2) \
std::cout << "Returning " << Response.Size << " " << readable_size(Response.Size) \
<< " for Get<" << TypeOfVar << ">(" << VarName << ")" << b << std::endl; \
std::cout << "Returning " << readable_size(Response.Size) << " for Get<" << TypeOfVar \
<< ">(" << VarName << ")" << b << std::endl; \
f->m_BytesSent += Response.Size; \
f->m_OperationCount++; \
TotalGetBytesSent += Response.Size; \
Expand Down Expand Up @@ -458,7 +458,7 @@ static atom_t CM_IP_PORT = -1;
static bool server_timeout(void *CMvoid, int time_since_service)
{
CManager cm = (CManager)CMvoid;
if (verbose)
if (verbose && (time_since_service > 90))
std::cout << time_since_service << " seconds since last service.\n";
if (time_since_service > 600)
{
Expand Down Expand Up @@ -584,7 +584,6 @@ int main(int argc, char **argv)

ServerRegisterHandlers(ev_state);

std::cout << "doing Run Network" << std::endl;
CMrun_network(cm);
return 0;
}
Loading