added: to stats plugin: microsoft bing searcher
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@648 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -39,6 +39,7 @@ void Stats::ReadStats(std::ifstream & file)
|
||||
file >> global_unique;
|
||||
file >> global_google;
|
||||
file >> global_yahoo;
|
||||
file >> global_bing;
|
||||
|
||||
size_t len;
|
||||
file >> len;
|
||||
@@ -52,6 +53,7 @@ void Stats::ReadStats(std::ifstream & file)
|
||||
file >> s.all;
|
||||
file >> s.google;
|
||||
file >> s.yahoo;
|
||||
file >> s.bing;
|
||||
|
||||
stats_tab.insert( std::make_pair(item_id, s) );
|
||||
}
|
||||
@@ -91,6 +93,7 @@ void Stats::SaveStats(std::ofstream & file)
|
||||
file << global_unique << ' ';
|
||||
file << global_google << ' ';
|
||||
file << global_yahoo << ' ';
|
||||
file << global_bing << ' ';
|
||||
file << std::endl;
|
||||
|
||||
file << stats_tab.size() << std::endl;
|
||||
@@ -103,6 +106,7 @@ void Stats::SaveStats(std::ofstream & file)
|
||||
file << i->second.all << ' ';
|
||||
file << i->second.google << ' ';
|
||||
file << i->second.yahoo << ' ';
|
||||
file << i->second.bing << ' ';
|
||||
file << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user